summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-08-05 17:21:08 +0200
committerKrisztian Pinter <pin.terminator@gmail.com>2014-08-05 17:21:08 +0200
commitd1f87b779d5962455cac81622113a6480e4ef752 (patch)
tree58e7562e974663fdc66ebf379e61da5ee4f31b08
parentc7705d871e76040fc2106a7ef8d519f79b6881bd (diff)
Make small UI tweaks to SvxColorWindow_Impl
Change-Id: I604cbf8ca6f7ebb14c1c95e62f997c3150370119
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 7fc11de37641..446fb1e55830 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1035,6 +1035,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
get(mpColorSet, "colorset");
mpColorSet->SetStyle( WinBits(WB_ITEMBORDER | WB_NAMEFIELD | WB_3DLOOK | WB_NO_DIRECTSELECT) );
+ mpColorSet->SetEdgeBlending( false );
if ( SID_ATTR_CHAR_COLOR_BACKGROUND == theSlotId || SID_BACKGROUND_COLOR == theSlotId )
{
mpColorSet->SetStyle( mpColorSet->GetStyle() | WB_NONEFIELD );
@@ -1149,6 +1150,7 @@ IMPL_LINK_NOARG(SvxColorWindow_Impl, OpenPickerClickHdl)
void SvxColorWindow_Impl::Resize()
{
+ mpColorSet->SetSizePixel( this->GetOutputSizePixel() );
SetOutputSizePixel(maWindowSize);
}