Kaydet (Commit) e03223d4 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Don't manually set the SvxColorWindow size

Change-Id: Idd5ba4480c5323fb15dbb4c850b46e3f0604737b
üst 83eefb37
......@@ -37,7 +37,7 @@ private:
const sal_uInt16 theSlotId;
SvxColorValueSet* mpColorSet;
SvxColorValueSet* mpRecentColorSet;
Size maWindowSize;
ListBox* mpPaletteListBox;
PushButton* mpButtonAutoColor;
PushButton* mpButtonPicker;
......
......@@ -1009,7 +1009,6 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
"palette_popup_window", "svx/ui/colorwindow.ui",
rFrame ),
theSlotId( nSlotId ),
maWindowSize( 250, 350 ),
maCommand( rCommand ),
mrPaletteManager( rPaletteManager ),
mnColorSetCols( 10 )
......@@ -1186,7 +1185,6 @@ void SvxColorWindow_Impl::Resize()
{
mpColorSet->SetSizePixel( this->GetOutputSizePixel() );
mpRecentColorSet->SetSizePixel( this->GetOutputSizePixel() );
SetOutputSizePixel(maWindowSize);
}
void SvxColorWindow_Impl::StartSelection()
......
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