diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-27 20:57:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-27 20:58:32 +0000 |
commit | fc8022431a1684f3cfb1e2f7e4ec923a8e71df94 (patch) | |
tree | 28634a3a09ef93a23c241615ff51ffbd7b6d576d /cui/source/tabpages | |
parent | 46ce3a214d5ebc165a0a3e313a46ded9b87b9ab2 (diff) |
Resolves: fdo#61241 force area page to size itself for max visible controls
Change-Id: I2d67ce71528786ef300ab83ee1e5b1cad6b4abe8
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/tparea.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index b7f300de31c0..bd7b09be873a 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()); } // ----------------------------------------------------------------------- |