summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-08-05 17:21:08 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2014-09-17 10:19:55 +0200
commit43b896d20abf500a882fc67f16cd0902918e5794 (patch)
tree4b4132c7842c831afeec79ac660e9abbca5f5fbb /svx
parent67bde2460bab738701765f345863c969aa77a8ae (diff)
Make small UI tweaks to SvxColorWindow_Impl
Change-Id: I604cbf8ca6f7ebb14c1c95e62f997c3150370119
Diffstat (limited to 'svx')
-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 cdd6e97bf4e5..bfd275d08d34 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1019,6 +1019,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 );
@@ -1133,6 +1134,7 @@ IMPL_LINK_NOARG(SvxColorWindow_Impl, OpenPickerClickHdl)
void SvxColorWindow_Impl::Resize()
{
+ mpColorSet->SetSizePixel( this->GetOutputSizePixel() );
SetOutputSizePixel(maWindowSize);
}