Commit graph

18 commits

Author SHA1 Message Date
Michael Alexsander
034942557e
Fix issues with property height in the inspector 2025-12-01 23:14:33 -03:00
Michael Alexsander
7687a94883
Add extra panels to some areas of the editor 2025-11-22 10:57:50 -03:00
Hugo Locurcio
d823a69237
Always use a dark background for 3D editor overlays even with light theme
This results in better readability against mixed-color backgrounds,
as what you see in the 3D editor doesn't change depending on your editor theme.

This also tweaks the viewport zoom/speed label for better readability
by using a bold font and thicker outline.
2025-11-18 02:28:27 +01:00
Michael Alexsander
21e3ef9af7
Enhance contrast on Modern theme 2025-11-03 17:04:19 -03:00
passivestar
3b13bb1126 Fix icon colors in light color preset of modern theme 2025-11-01 15:15:14 +04:00
Michael Alexsander
e06f015f95
Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
kit
ed5a9860a6 Fix custom Text Editor theme changes on reload 2025-06-30 09:41:22 -04:00
Anish Mishra
b5dad5a0b2 Improve SplitContainer usability in the Android editor 2025-06-03 19:49:56 +05:30
Konrad Gadzina
e6f812c056 Modify color in ColorPicker with keyboard or joypad 2025-03-11 22:41:41 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Giganzo
549bffdcbc Fix PopupPanel menu style 2024-10-20 13:26:45 +02:00
Hugo Locurcio
1e8526659c
Add minimum width/height to dialog buttons
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.

This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +02:00
Hendrik Brucker
02a33b67a8 Redesign the graph editor for visual shaders 2024-02-22 20:40:09 +01:00
kobewi
a031911c82 Use check_changed_settings_in_group() everywhere 2024-02-19 21:34:45 +01:00
Yuri Sizov
45eedba1fa Improve editor theme generation after the refactor 2024-01-17 15:16:53 +01:00
Yuri Sizov
dc3b07e551 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.
2024-01-16 11:57:45 +01:00
Yuri Sizov
635b8a1474 Split theme generation logic into several subroutines
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.

Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.

In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.

This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
Yuri Sizov
95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00