summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-01-03 15:08:05 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-01-03 15:08:05 +0000
commitef5da1c2b7ea9ce126d89aef0d2d171f6351920a (patch)
tree57aef36b115eb1207d810d59230d167672715111 /src
parentFix a regrssion in merge branch Allow erase knots in powerstroke (diff)
downloadinkscape-ef5da1c2b7ea9ce126d89aef0d2d171f6351920a.tar.gz
inkscape-ef5da1c2b7ea9ce126d89aef0d2d171f6351920a.zip
Restore behavior of swatches exapanding to fill available space.
Diffstat (limited to 'src')
-rw-r--r--src/ui/previewholder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/previewholder.cpp b/src/ui/previewholder.cpp
index faf98d725..789156aa5 100644
--- a/src/ui/previewholder.cpp
+++ b/src/ui/previewholder.cpp
@@ -384,8 +384,8 @@ void PreviewHolder::rebuildUI()
BORDER_SOLID_LAST_ROW : _border;
Gtk::Widget* item = Gtk::manage(items[i]->getPreview(PREVIEW_STYLE_PREVIEW, _view, _baseSize, _ratio, border));
- item->set_hexpand(false);
- item->set_vexpand(false);
+ item->set_hexpand();
+ item->set_vexpand();
if (i == 0) {
// We need one item shown before we can call calcGridSize()...