[Libreoffice-commits] core.git: cui/source
Caolán McNamara
caolanm at redhat.com
Wed Feb 27 13:00:41 PST 2013
cui/source/tabpages/tparea.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit fc8022431a1684f3cfb1e2f7e4ec923a8e71df94
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 27 20:57:01 2013 +0000
Resolves: fdo#61241 force area page to size itself for max visible controls
Change-Id: I2d67ce71528786ef300ab83ee1e5b1cad6b4abe8
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index b7f300d..bd7b09b 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -776,6 +776,13 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
aLbColor.SetAccessibleRelationMemberOf( &aFlProp );
aMtrFldOffset.SetAccessibleRelationLabeledBy(&aFlOffset);
aMtrFldOffset.SetAccessibleName(aFlOffset.GetText());
+
+ //fdo#61241 lock down size of this tab page until it's
+ //converted to .ui (remember to use some sizegroups
+ //that take into account hidden frames)
+ Size aSize(GetSizePixel());
+ set_width_request(aSize.Width());
+ set_height_request(aSize.Height());
}
// -----------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list