Skip to content

Commit

Permalink
use markup and less space in table
Browse files Browse the repository at this point in the history
Updates #723
  • Loading branch information
shawnlaffan committed Apr 6, 2019
1 parent 59e148e commit f8ad093
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Biodiverse/GUI/GUIManager.pm
Expand Up @@ -1529,7 +1529,10 @@ sub do_basedata_coarsen_axis_resolutions {
$name_dlg->pack_start ($name_label, 1, 1, 0);
$name_dlg->pack_start ($name_entry, 1, 1, 0);

my $resolution_label = Gtk2::Label->new('New resolutions (must be integer multiples of current)');
my $resolution_label = Gtk2::Label->new;
$resolution_label->set_markup (
"New resolutions\n <i>(must be integer multiples of current)</i>"
);
my $resolution_table = $self->get_resolution_table_widget (
basedata => $bd,
);
Expand Down Expand Up @@ -1585,7 +1588,7 @@ sub get_resolution_table_widget {

my %coord_bounds = $bd->get_coord_bounds;

my $table = Gtk2::Table->new (1, 1, 1);
my $table = Gtk2::Table->new (0, 0, 0);

my $tooltip_group = Gtk2::Tooltips->new;

Expand Down

0 comments on commit f8ad093

Please sign in to comment.