summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-08 15:10:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-08 15:12:15 +0000
commitebafc4fef20944c9c0ba75fbea064bf285a73735 (patch)
treedd6249975697c6060b1fec308c8d97322c5113af
parent19b53ac04df4a87735b45bf8cdc25d3b1c5bf319 (diff)
gtk3+wayland: dialogs work a lot better if a min size is set
instead of just an initial size, because we can set a size-request for the minimum size and that's a reliable thing Change-Id: I83916715cb9e3dceb6e88f3ca8fc86920677c026
-rw-r--r--vcl/source/window/btndlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index 59c0638546ba..ad846ed248ea 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -205,7 +205,7 @@ void ButtonDialog::ImplPosControls()
nY += maCtrlSize.Height()+IMPL_SEP_BUTTON_Y;
}
- SetOutputSizePixel( aDlgSize );
+ SetMinOutputSizePixel(aDlgSize);
mbFormat = false;
}