From dc3b07e5515f71ee4a0c55217b12e98e098ea3e9 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Mon, 15 Jan 2024 13:14:55 +0100 Subject: Introduce editor theme spacing presets This change adds a new editor setting related to theming which controls base and additional spacing used in the generated editor theme. These values can also be changed manually by the user to customize their experience. Limited effort was applied to make sure both Compact and Spacious presets work and look fine, but further tuning and adjustments are totally expected. Some controls will require layout changes or additional fixes to their constants. --- doc/classes/EditorSettings.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc/classes/EditorSettings.xml') diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 5c317a5088..b7f3ec9963 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -662,12 +662,16 @@ The color to use for "highlighted" user interface elements in the editor (pressed and hovered items). - - The spacing to add for buttons and list items in the editor (in pixels). Increasing this value is useful to improve usability on touch screens, at the cost of reducing the amount of usable screen real estate. + + The extra spacing to add to various GUI elements in the editor (in pixels). Increasing this value is useful to improve usability on touch screens, at the cost of reducing the amount of usable screen real estate. + See also [member interface/theme/spacing_preset]. The base color to use for user interface elements in the editor. Secondary colors (such as darker/lighter variants) are derived from this color. + + The base spacing used by various GUI elements in the editor (in pixels). See also [member interface/theme/spacing_preset]. + The border size to use for interface elements (in pixels). @@ -699,6 +703,9 @@ The opacity to use when drawing relationship lines in the editor's [Tree]-based GUIs (such as the Scene tree dock). + + The editor theme spacing preset to use. See also [member interface/theme/base_spacing] and [member interface/theme/additional_spacing]. + If [code]true[/code], long press on touchscreen is treated as right click. [b]Note:[/b] Defaults to [code]true[/code] on touchscreen devices. -- cgit v1.2.3