diff --git a/vcl/Package_theme_definitions.mk b/vcl/Package_theme_definitions.mk index 2e0ffa688fae..e28ae0911733 100644 --- a/vcl/Package_theme_definitions.mk +++ b/vcl/Package_theme_definitions.mk @@ -23,6 +23,8 @@ $(eval $(call gb_Package_add_files,vcl_theme_definitions,$(LIBO_SHARE_FOLDER)/th tick-on.svgx \ tick-on-pressed.svgx \ tick-on-disabled.svgx \ + spinbox-left.svgx \ + spinbox-right.svgx \ )) # vim: set noet sw=4 ts=4: diff --git a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx index f2db60e4b5f0..fc86eb547f0c 100644 --- a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx +++ b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx @@ -534,7 +534,7 @@ bool FileDefinitionWidgetDraw::getNativeControlRegion( { case ControlType::Spinbox: { - Size aButtonSize(44, 26); + Size aButtonSize(32, 32); Point aLocation(rBoundingControlRegion.TopLeft()); if (ePart == ControlPart::ButtonUp) diff --git a/vcl/uiconfig/theme_definitions/definition.xml b/vcl/uiconfig/theme_definitions/definition.xml index 13859cfa3833..308bec61f614 100644 --- a/vcl/uiconfig/theme_definitions/definition.xml +++ b/vcl/uiconfig/theme_definitions/definition.xml @@ -140,6 +140,29 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vcl/uiconfig/theme_definitions/spinbox-left.svgx b/vcl/uiconfig/theme_definitions/spinbox-left.svgx new file mode 100644 index 000000000000..3f98280a106b --- /dev/null +++ b/vcl/uiconfig/theme_definitions/spinbox-left.svgx @@ -0,0 +1,4 @@ + + + + diff --git a/vcl/uiconfig/theme_definitions/spinbox-right.svgx b/vcl/uiconfig/theme_definitions/spinbox-right.svgx new file mode 100644 index 000000000000..07ce83c388db --- /dev/null +++ b/vcl/uiconfig/theme_definitions/spinbox-right.svgx @@ -0,0 +1,4 @@ + + + +