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:
parent
82243cfdd1
commit
d16ce77c0a
|
@ -313,7 +313,7 @@
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="label" translatable="yes">Collection
|
<property name="label" translatable="yes">Collection
|
||||||
Manager</property>
|
Manager</property>
|
||||||
<property name="justify">right</property>
|
<property name="justify">center</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
|
|
@ -93,6 +93,8 @@ PresetTab::PresetTab(const std::string &name, const std::string &icon)
|
||||||
tab_icon.set_alignment(0, 0.5);
|
tab_icon.set_alignment(0, 0.5);
|
||||||
name_label.set_use_markup();
|
name_label.set_use_markup();
|
||||||
name_label.set_margin_right(1);
|
name_label.set_margin_right(1);
|
||||||
|
name_label.set_justify(Gtk::JUSTIFY_CENTER);
|
||||||
|
size_label.set_justify(Gtk::JUSTIFY_CENTER);
|
||||||
set_spacing(5);
|
set_spacing(5);
|
||||||
|
|
||||||
box.pack_start(name_label);
|
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_icon.set_from_icon_name("window-close", Gtk::ICON_SIZE_MENU);
|
||||||
close_button.set_image(close_icon);
|
close_button.set_image(close_icon);
|
||||||
close_button.set_relief(Gtk::RELIEF_NONE);
|
close_button.set_relief(Gtk::RELIEF_NONE);
|
||||||
|
number_label.set_justify(Gtk::JUSTIFY_CENTER);
|
||||||
|
|
||||||
pack_start(number_label, false, false);
|
pack_start(number_label, false, false);
|
||||||
pack_start(size_label, true, true);
|
pack_start(size_label, true, true);
|
||||||
|
|
Loading…
Reference in New Issue