Kaydet (Commit) 43b896d2 authored tarafından Krisztian Pinter's avatar Krisztian Pinter Kaydeden (comit) Tomaž Vajngerl

Make small UI tweaks to SvxColorWindow_Impl

Change-Id: I604cbf8ca6f7ebb14c1c95e62f997c3150370119
üst 67bde246
...@@ -1019,6 +1019,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand, ...@@ -1019,6 +1019,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
get(mpColorSet, "colorset"); get(mpColorSet, "colorset");
mpColorSet->SetStyle( WinBits(WB_ITEMBORDER | WB_NAMEFIELD | WB_3DLOOK | WB_NO_DIRECTSELECT) ); 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 ) if ( SID_ATTR_CHAR_COLOR_BACKGROUND == theSlotId || SID_BACKGROUND_COLOR == theSlotId )
{ {
mpColorSet->SetStyle( mpColorSet->GetStyle() | WB_NONEFIELD ); mpColorSet->SetStyle( mpColorSet->GetStyle() | WB_NONEFIELD );
...@@ -1133,6 +1134,7 @@ IMPL_LINK_NOARG(SvxColorWindow_Impl, OpenPickerClickHdl) ...@@ -1133,6 +1134,7 @@ IMPL_LINK_NOARG(SvxColorWindow_Impl, OpenPickerClickHdl)
void SvxColorWindow_Impl::Resize() void SvxColorWindow_Impl::Resize()
{ {
mpColorSet->SetSizePixel( this->GetOutputSizePixel() );
SetOutputSizePixel(maWindowSize); SetOutputSizePixel(maWindowSize);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment