diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 2f998c5e03ac..d6b2851ea856 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2123,11 +2123,6 @@ ColorWindow::ColorWindow(OUString rCommand, mxPaletteManager->ReloadColorSet(maColorIconView); mxPaletteManager->ReloadRecentColorSet(maRecentColorIconView); - // ensure minimum height to also provide space for palettes with - // more colors when one with few colors is initially selected - if (maColorIconView.get_size_request().Height() < 250) - maColorIconView.set_size_request(-1, 250); - AddStatusListener( u".uno:ColorTableState"_ustr ); AddStatusListener( maCommand ); if ( maCommand == ".uno:FrameLineColor" ) diff --git a/svx/uiconfig/ui/colorwindow.ui b/svx/uiconfig/ui/colorwindow.ui index 5c51bceccf7c..973897eefd21 100644 --- a/svx/uiconfig/ui/colorwindow.ui +++ b/svx/uiconfig/ui/colorwindow.ui @@ -123,20 +123,23 @@ + 250 True True - True + start never in + 250 False + 250 True True True True + start 6 - True coloriconview_model 12 0