diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-08-10 19:25:41 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-08-31 14:50:39 +0000 |
| commit | a4eea75612acbbfd6b8aed6b48090ca2c76ee657 (patch) | |
| tree | e53efaa60e611bc73c20b628c1c6e725c6f89f75 /src/extension/prefdialog/widget-separator.cpp | |
| parent | Add new widget "separator" which draws a line between widgets (diff) | |
| download | inkscape-a4eea75612acbbfd6b8aed6b48090ca2c76ee657.tar.gz inkscape-a4eea75612acbbfd6b8aed6b48090ca2c76ee657.zip | |
Add new widget "spacer" which adds an empty space between widgets
The attribute "size" allows to define the spacing in px.
The special value "expand" can be used to make the spacer consume
all available space in the parent.
Diffstat (limited to 'src/extension/prefdialog/widget-separator.cpp')
| -rw-r--r-- | src/extension/prefdialog/widget-separator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/prefdialog/widget-separator.cpp b/src/extension/prefdialog/widget-separator.cpp index 94778e027..d78894b62 100644 --- a/src/extension/prefdialog/widget-separator.cpp +++ b/src/extension/prefdialog/widget-separator.cpp @@ -35,6 +35,7 @@ Gtk::Widget *WidgetSeparator::get_widget(sigc::signal<void> *changeSignal) Gtk::Separator *separator = Gtk::manage(new Gtk::Separator()); separator->show(); + return dynamic_cast<Gtk::Widget *>(separator); } |
