summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/layer-properties.cpp
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-03-30 01:39:59 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-04-02 08:55:59 +0000
commit53ead5269c16cf7decee30713b0cd0d1456e7138 (patch)
tree66fda5dd8d50d5a7b86e22690742b607a7d01381 /src/ui/dialog/layer-properties.cpp
parentAvoid crash from nullptr exception (diff)
downloadinkscape-53ead5269c16cf7decee30713b0cd0d1456e7138.tar.gz
inkscape-53ead5269c16cf7decee30713b0cd0d1456e7138.zip
Tidy various dialog UIs
Diffstat (limited to 'src/ui/dialog/layer-properties.cpp')
-rw-r--r--src/ui/dialog/layer-properties.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ui/dialog/layer-properties.cpp b/src/ui/dialog/layer-properties.cpp
index ddd0fcf7e..083f1049b 100644
--- a/src/ui/dialog/layer-properties.cpp
+++ b/src/ui/dialog/layer-properties.cpp
@@ -49,11 +49,9 @@ LayerPropertiesDialog::LayerPropertiesDialog()
// Layer name widgets
_layer_name_entry.set_activates_default(true);
_layer_name_label.set_label(_("Layer name:"));
- _layer_name_label.set_halign(Gtk::ALIGN_END);
+ _layer_name_label.set_halign(Gtk::ALIGN_START);
_layer_name_label.set_valign(Gtk::ALIGN_CENTER);
- _layer_name_label.set_halign(Gtk::ALIGN_FILL);
- _layer_name_label.set_valign(Gtk::ALIGN_FILL);
_layout_table.attach(_layer_name_label, 0, 0, 1, 1);
_layer_name_entry.set_halign(Gtk::ALIGN_FILL);
@@ -167,7 +165,7 @@ LayerPropertiesDialog::_setup_position_controls() {
row->set_value(_dropdown_columns.name, Glib::ustring(_("As sublayer of current")));
_layer_position_label.set_label(_("Position:"));
- _layer_position_label.set_halign(Gtk::ALIGN_END);
+ _layer_position_label.set_halign(Gtk::ALIGN_START);
_layer_position_label.set_valign(Gtk::ALIGN_CENTER);
_layer_position_combo.set_halign(Gtk::ALIGN_FILL);
@@ -175,8 +173,6 @@ LayerPropertiesDialog::_setup_position_controls() {
_layer_position_combo.set_hexpand();
_layout_table.attach(_layer_position_combo, 1, 1, 1, 1);
- _layer_position_label.set_halign(Gtk::ALIGN_FILL);
- _layer_position_label.set_valign(Gtk::ALIGN_FILL);
_layout_table.attach(_layer_position_label, 0, 1, 1, 1);
show_all_children();