gui: Change justify for some tabs

I think justify center looks better.

Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
Anna Schumaker 2014-02-02 11:15:43 -05:00 committed by Anna Schumaker
parent 82243cfdd1
commit d16ce77c0a
2 changed files with 4 additions and 1 deletions

View File

@ -313,7 +313,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Collection
Manager</property>
<property name="justify">right</property>
<property name="justify">center</property>
</object>
<packing>
<property name="expand">False</property>

View File

@ -93,6 +93,8 @@ PresetTab::PresetTab(const std::string &name, const std::string &icon)
tab_icon.set_alignment(0, 0.5);
name_label.set_use_markup();
name_label.set_margin_right(1);
name_label.set_justify(Gtk::JUSTIFY_CENTER);
size_label.set_justify(Gtk::JUSTIFY_CENTER);
set_spacing(5);
box.pack_start(name_label);
@ -132,6 +134,7 @@ PQTab::PQTab() : number_label("0", 0, 0.5), size_label("0", 0.5, 0.5)
close_icon.set_from_icon_name("window-close", Gtk::ICON_SIZE_MENU);
close_button.set_image(close_icon);
close_button.set_relief(Gtk::RELIEF_NONE);
number_label.set_justify(Gtk::JUSTIFY_CENTER);
pack_start(number_label, false, false);
pack_start(size_label, true, true);