summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-06-29 14:04:38 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-06-29 14:04:38 +0000
commitaac1f9ebe22ef8bfcc8941977563e6a0a429ecb8 (patch)
tree2c4f2eb859e2a95f118a98d25bc52a53a42ce87a /src/ui/dialog/styledialog.cpp
parentpreviewholder: Rm unused (and wrongly constructed) var (diff)
downloadinkscape-aac1f9ebe22ef8bfcc8941977563e6a0a429ecb8.tar.gz
inkscape-aac1f9ebe22ef8bfcc8941977563e6a0a429ecb8.zip
Use Gtk orientable widgets
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 73dd6937a..3642c0168 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -264,7 +264,9 @@ StyleDialog::StyleDialog() :
_treeView.set_expander_column(*(_treeView.get_column(1)));
// Pack widgets
+ _paned.set_orientation(Gtk::ORIENTATION_VERTICAL);
_paned.pack1(_mainBox, Gtk::SHRINK);
+ _mainBox.set_orientation(Gtk::ORIENTATION_VERTICAL);
_mainBox.pack_start(_scrolledWindow, Gtk::PACK_EXPAND_WIDGET);
_scrolledWindow.add(_treeView);
_scrolledWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);