parent
ec8ba81ea1
commit
11eefe4574
@ -0,0 +1,26 @@
|
||||
From bba3f7bf8f831bf7f51de6441b3f15ed667e56fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Wed, 16 Dec 2015 11:02:27 +0000
|
||||
Subject: [PATCH] but only for dialog
|
||||
|
||||
Change-Id: I7e4f5c075ca4844f81a59071bed475ea1da4bf91
|
||||
---
|
||||
vcl/source/window/syswin.cxx | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
|
||||
index 3f2cde1..057b51b 100644
|
||||
--- a/vcl/source/window/syswin.cxx
|
||||
+++ b/vcl/source/window/syswin.cxx
|
||||
@@ -1135,7 +1135,7 @@ void SystemWindow::DoInitialLayout()
|
||||
mbIsCalculatingInitialLayoutSize = false;
|
||||
mbInitialLayoutDone = true;
|
||||
}
|
||||
- else if (!(GetStyle() & WB_SIZEABLE))
|
||||
+ else if (IsDialog() && !(GetStyle() & WB_SIZEABLE))
|
||||
{
|
||||
SetMinOutputSizePixel(GetSizePixel());
|
||||
}
|
||||
--
|
||||
2.5.0
|
||||
|
Loading…
Reference in new issue