diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-31 15:22:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-31 15:40:38 +0100 |
commit | b425c2964b0f35fe12383b47c41816d612b6981b (patch) | |
tree | 96aa9fd263bc201f5d6b668b038e9003b9c24a91 /include | |
parent | 8196dab4f450d96905f0bbfe650ae7a78c8972e2 (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
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/SvxColorValueSet.hxx | 2 |
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; |