summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-31 15:22:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-31 16:13:17 +0100
commit98a3c7228c6e6ed4da284eb4258cd787999a71b4 (patch)
treec9b9de5477b11b8e92d026582c9003f5ae1e44e6 /include
parent3e0fa22de3b761686fb5b5bf4e44a91172c45f3b (diff)
make SvxColorValueSet not squish all colours into avail space
instead hook SvxColorValueSet::Resize() to layoutToGivenHeight and let it add a scrollbar if the height would squish them Change-Id: Ia94b01b247f734f3640b15f7161d28530e65d538 (cherry picked from commit b425c2964b0f35fe12383b47c41816d612b6981b)
Diffstat (limited to 'include')
-rw-r--r--include/svx/SvxColorValueSet.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx
index 819de02d7483..f4b2ba3d40da 100644
--- a/include/svx/SvxColorValueSet.hxx
+++ b/include/svx/SvxColorValueSet.hxx
@@ -35,6 +35,8 @@ public:
SvxColorValueSet(Window* pParent, WinBits nWinStyle = WB_ITEMBORDER);
SvxColorValueSet(Window* pParent, const ResId& rResId);
+ virtual void Resize();
+
sal_uInt32 getMaxRowCount() const;
sal_uInt32 getEntryEdgeLength() const;
sal_uInt32 getColumnCount() const;