diff options
-rw-r--r-- | svtools/source/control/valueset.cxx | 3 | ||||
-rw-r--r-- | svx/uiconfig/ui/colorwindow.ui | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index ef76d4bd2f60..bd2cb8e0b427 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -3634,9 +3634,6 @@ Size SvtValueSet::CalcWindowSizePixel( const Size& rItemSize, sal_uInt16 nDesire aSize.AdjustHeight(nTxtHeight + n + mnSpacing ); } - // sum possible ScrollBar width - aSize.AdjustWidth(GetScrollWidth()); - return aSize; } diff --git a/svx/uiconfig/ui/colorwindow.ui b/svx/uiconfig/ui/colorwindow.ui index 1c2e815eba12..8ec1d1be10ec 100644 --- a/svx/uiconfig/ui/colorwindow.ui +++ b/svx/uiconfig/ui/colorwindow.ui @@ -22,8 +22,6 @@ </object> <object class="GtkPopover" id="palette_popup_window"> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> <property name="border_width">4</property> <property name="position">bottom</property> <property name="constrain_to">none</property> @@ -106,6 +104,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">never</property> <property name="shadow_type">in</property> <child> <object class="GtkViewport"> |