Rémi Verschelde
4f5982c83b
Merge pull request #100171 from Giganzo/editor-focus
...
Fix missing focus outline for 2D and 3D editor viewports
2025-01-03 00:48:30 +01:00
Markus Sauermann
0a875ab3bb
Highlight hovered `GraphEdit` connection by widening the line
...
This change causes the connections to be additionally highlighted by
widening the line with a configurable factor.
2024-12-20 00:55:35 +01:00
Thaddeus Crews
7efe038eed
Merge pull request #97492 from Geometror/profiler-autostart-indicator
...
Add profiler autostart indicator to EditorRunBar
2024-12-16 12:09:59 -06:00
Hendrik Brucker
9f8bbe43ee
Add profiler autostart indicator to EditorRunBar
2024-12-16 10:15:24 +01:00
havi05
b05111799b
ItemList - highlight selected items && draw cursor last
2024-12-14 19:03:43 +01:00
Chaosus
9a8d6628de
[Scene] Add `SceneStringName::hover`
2024-12-11 11:11:25 +03:00
Chaosus
ba39b078f5
[Scene] Add `SceneStringName::FlatButton`
2024-12-10 11:12:26 +03:00
Giganzo
c96d9a8f79
Fix missing focus outline for 2D and 3D editor viewports
2024-12-07 13:35:49 +01:00
Rémi Verschelde
e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
...
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
Rémi Verschelde
d6b20fd7e5
Merge pull request #98402 from vaner-org/highlight-node-neighbours
...
Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
2024-12-02 15:50:22 +01:00
A Thousand Ships
af56d6e8e8
Use `SceneStringName` in more places
2024-12-02 14:39:16 +01:00
lullabyist
366fa9ff39
Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
...
Applied suggestions from code review
2024-12-01 18:21:09 +05:30
Rémi Verschelde
8d3fc48abf
Merge pull request #97521 from pafuent/enhance_scroll_container_focus
...
Add a focus border on `ScrollContainer`
2024-11-29 22:46:09 +01:00
Rémi Verschelde
6d4bb8fbda
Merge pull request #94721 from ckaiser/animation-blend-tree-tweaks
...
Improve blend tree contrast/margins
2024-11-29 22:45:47 +01:00
Rémi Verschelde
a1365dcb12
Merge pull request #98765 from Calinou/editor-bottom-panel-no-icon-tint
...
Don't tint editor bottom panel icons when hovered or pressed
2024-11-29 22:01:55 +01:00
Thaddeus Crews
9e259ef061
Merge pull request #97884 from passivestar/list-variations
...
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
Pablo Andres Fuente
86ea0127a3
Add a focus border on `ScrollContainer`
...
Also added new unit tests for `Control`.
Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
Christian Kaiser
5559075844
Fix graph node sizing regression, improve blend tree contrast/margins
2024-11-22 16:11:28 -03:00
passivestar
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
passivestar
edd6acdfd4
Expose state machine focus color to theming
2024-11-19 01:14:09 +04:00
Hugo Locurcio
dafba55c69
Don't tint editor bottom panel icons when hovered or pressed
...
This prevents the error/warning icons from turning gray or green,
making them hard to recognize. A similar mechanism is already used
for EditorLog filter button icons.
This also fixes typos in FileDialog theme color assignment
(`icon_color_pressed` instead of `icon_pressed_color`). The exposed theme
item names remain the same.
2024-11-02 18:35:45 +01:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging
2024-10-30 11:42:17 -03:00
Thaddeus Crews
3b70a96164
Merge pull request #96518 from Giganzo/popup-panel-style
...
Fix PopupPanel and PopupMenu menu styles
2024-10-24 13:22:34 -05:00
Giganzo
549bffdcbc
Fix PopupPanel menu style
2024-10-20 13:26:45 +02:00
David Giardi
ebe1a2d7ec
Add hover state to Tree items display
2024-10-17 00:21:52 +02:00
Giganzo
f21a969bb9
Fix slider size in compact mode
2024-09-11 11:48:28 +02:00
Rémi Verschelde
466b4b9ff8
Merge pull request #96164 from Giganzo/signal-dialog-align-fix
...
Fix Connect Signal Dialog control alignment
2024-09-08 23:21:36 +02:00
kobewi
bde64c4633
Deprecate set_min_buttons_width_from_icons
2024-09-05 15:43:54 +02:00
A Thousand Ships
194bdde947
Cleanup of raw `nullptr` checks with `Ref`
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Giganzo
308186a89e
Fix floating window corner radius
2024-08-29 10:27:27 +02:00
Rémi Verschelde
5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
...
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
Giganzo
1b7d7034a4
Fix Connect Signal Dialog control alignment
2024-08-27 13:25:26 +02:00
David Giardi
e371587147
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-23 18:21:20 +02:00
passivestar
6120786ddc
Allow theming animation editor
2024-08-21 15:29:27 +04:00
Rémi Verschelde
01c0b39399
Merge pull request #95193 from Giganzo/fix-checkbox-alignment-compact-mode
...
Fix checkbox alignment when using compact theme spacing
2024-08-17 00:46:19 +02:00
Giganzo
7d6ce3345b
Fix checkbox alignment when using compact theme spacing
2024-08-06 12:26:55 +02:00
Hendrik Brucker
de7ce9a85f
Reduce size changes of visual shader nodes when connecting/disconnecting
...
- plus small internal rename
2024-08-02 13:26:49 +02:00
Fredia Huya-Kouadio
8f7dc86223
Enable `restart_if_changed` for the touchscreen editor settings
...
The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
2024-07-17 02:30:30 -07:00
Hendrik Brucker
b871794591
Fix `GraphFrame` autoshrink with high DPI displays/custom UI scales
2024-07-04 19:08:06 +02:00
Rémi Verschelde
398d1d4ef9
Merge pull request #93520 from passivestar/main-screen-button-mirror
...
Add missing RTL styles for MainScreenButton
2024-06-24 17:48:55 +02:00
passivestar
ea5fe1df81
Add missing RTL styles for MainScreenButton
2024-06-23 23:33:31 +04:00
passivestar
6bb58ca5ae
Make inspector spacing more themable
2024-06-22 19:55:47 +04:00
Rémi Verschelde
4a9dc72d16
Merge pull request #93361 from passivestar/viewport-buttons-styles
...
Add missing style overrides for viewport overlay buttons
2024-06-21 10:14:21 +02:00
passivestar
83078715ca
Add missing style overrides for viewport overlay buttons
2024-06-20 22:28:45 +04:00
Rémi Verschelde
fb008256f5
Merge pull request #93318 from passivestar/action-button-rtl
...
Add missing RTL styles for InspectorActionButton
2024-06-20 16:18:30 +02:00
Rémi Verschelde
d21812f49b
Merge pull request #93223 from passivestar/movie-button-colors
...
Allow theming movie writer button icon color
2024-06-20 16:18:27 +02:00
Rémi Verschelde
5c30858ee1
Merge pull request #92647 from passivestar/popup-margins
...
Fix popup windows content margins
2024-06-19 10:10:05 +02:00
passivestar
cb9fb69d8c
Add missing RTL styles for InspectorActionButton
2024-06-18 21:29:25 +04:00
A Thousand Ships
d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)`
2024-06-18 17:24:27 +02:00
passivestar
71b300d9ac
Fix popup windows content margins
2024-06-18 16:34:00 +04:00
passivestar
70cdfc4c5e
Allow theming movie writer button icon color
2024-06-16 14:00:55 +04:00
Rémi Verschelde
1415684af9
Merge pull request #92701 from bruvzg/button_align
...
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-11 10:48:49 +02:00
Rémi Verschelde
dfefdadfb8
Merge pull request #89302 from Mickeon/Some-old-theme-color-renames
...
Add pre-4.3 Editor theme color names for compatibility
2024-06-11 10:48:43 +02:00
bruvzg
721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-10 18:40:52 +03:00
Micky
5749007f47
Add pre-4.3 Editor theme color names for compatibility
2024-06-06 13:43:07 +02:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9
Use `CoreStringNames::normal` in more places
2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add `SceneStringNames::panel`
2024-05-30 22:54:50 +02:00
Michael Aganier
77af5d16ac
Revert Solarized Dark theme to Godot 3
...
Solarized Dark theme was color perfect in Godot 3. It was changed in
Godot 4 but it looks wrong now. This reverts it.
2024-05-30 08:15:58 -04:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Hendrik Brucker
62776842df
[VisualShader] Add reroute node and improve port drawing
2024-05-13 03:26:01 +02:00
Rémi Verschelde
6342ab2bc3
Merge pull request #88058 from rsubtil/fix_warning_icon_light_theme
...
Tweak error and warning colors and fix `StatusWarning` icon visibility on light themes
2024-05-10 09:55:35 +02:00
Rémi Verschelde
394941c8f8
Merge pull request #91281 from ckaiser/the-lightmode-struggle-continues
...
Fix disabled files in FileDialog using the wrong color
2024-05-06 15:14:56 +02:00
Ricardo Subtil
db61cf8368
Fix warning icon visibility on light themes
2024-05-05 15:23:35 +01:00
ajreckof
cba9606611
Add colored margin in Inspector for arrays and dictionaries.
...
Apply suggestions from code review
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
Christian Kaiser
10e6be9df6
Fix disabled files in FileDialog using the wrong color
2024-04-28 13:09:28 -03:00
Rémi Verschelde
55842a502c
Merge pull request #89058 from dalexeev/editor-help-bit-deprecated-experimental
...
Editor: Display deprecated/experimental messages in tooltips
2024-04-19 16:27:06 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips
2024-04-18 14:32:04 +03: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
a81561cbd9
Add GraphFrame and integrate it in VisualShader
2024-04-04 15:11:00 +02:00
Matt Enad
d4ac3fabac
Fix main button margins in custom themes
...
Defined more theme variations and styleboxes for those variations to work around an issue where external editor themes would apply incorrect margins to certain buttons. This should eliminate clipping/alignment issues while a custom theme is in use.
Also simplified the step where margins are copied over thanks to @Rindbee 's suggestion
2024-03-13 15:38:09 -04:00
Adam Scott
44d3ce2c11
Add browse folder and browse file icons
2024-03-12 09:57:59 -04:00
passivestar
bcfca0295c
Add missing normal and hover states to `EditorLogFilterButton`
2024-03-08 20:10:49 +04:00
David Giardi
f63728cb9f
Fix item positioning & pointer detection areas of ItemList
2024-02-27 20:03:10 +01:00
Rémi Verschelde
4a4937318b
Merge pull request #88825 from adamscott/add-create-folder-icon
...
Add create folder icon
2024-02-27 10:18:13 +01:00
Rémi Verschelde
730ef374b4
Merge pull request #88652 from RobProductions/fix-hover-margin
...
Fix editor hover style margins when Draw Extra Borders is enabled
2024-02-27 10:17:34 +01:00
Rémi Verschelde
e8b94e65bb
Merge pull request #88575 from davthedev/itemlist-no-separators
...
Hide separators in ItemList in editor theme
2024-02-27 10:17:30 +01:00
Adam Scott
fd3666298c
Add create folder icon
2024-02-26 09:04:24 -05:00
Rémi Verschelde
213c835cde
Merge pull request #85017 from Geometror/vs-redesign
...
Redesign the graph editor for visual shaders
2024-02-22 23:34:19 +01:00
Hendrik Brucker
02a33b67a8
Redesign the graph editor for visual shaders
2024-02-22 20:40:09 +01:00
Rémi Verschelde
43771659cb
Merge pull request #86610 from Joseph-DiGiovanni/system-theme-options
...
Add option for editor to follow system theme and accent colors
2024-02-22 16:39:40 +01:00
Matt Enad
f75cffcd46
Fix hover style margin with extra borders enabled
...
The content margins for FlatMenuButton and RunBarButton are now handled correctly when the "Draw Extra Borders" user option is enabled
2024-02-21 21:36:48 -05:00
Rémi Verschelde
9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
...
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
David Giardi
5626fae673
Hide separators in ItemList in editor theme
2024-02-20 02:09:23 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Matt Enad
5b5de0e167
Add hover highlight to main editor buttons
...
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 -05:00
Joseph DiGiovanni
7eacb6ddbf
Add follow system theme settings
2024-02-14 15:31:21 -05:00
Micky
fbc584d4f2
Add color in built-in documentation for overridden properties
2024-02-11 17:30:54 +01:00
Yuri Sizov
28e8a4c0ee
Replace empty list dialog with an integrated panel
2024-01-30 17:52:25 +01:00
Yuri Sizov
feb1157276
Merge pull request #83510 from Geometror/vs-connection-ops
...
Add connection related functionality to VisualShader (deleting, dropping/inserting a node)
2024-01-22 20:38:30 +01:00
Hendrik Brucker
f59419bfe0
Add connection-related VisualShader operations
...
- Insert a node in a connection
- Drop an unconnected node on a connection to insert it
- Delete a connection
2024-01-19 11:38:59 +01:00
Yuri Sizov
66b0bd9203
Merge pull request #86158 from Geometror/ge-connection-rework
...
Rework `GraphEdit` connections (drawing, API, optimizations)
2024-01-18 19:26:56 +01:00
Yuri Sizov
de95a3effe
Merge pull request #85117 from BastiaanOlij/openxr_runtime_select
...
OpenXR: Add runtime selection dropdown
2024-01-18 19:26:52 +01:00
Hendrik Brucker
9d7c2978f4
Rework GraphEdit connections (drawing, API, optimizations)
...
- GraphEdit now uses Line2D nodes to draw connection lines and uses a dedicated canvas item shader for them
2024-01-18 16:53:15 +01:00
Bastiaan Olij
afd1dcf1b1
OpenXR: Add runtime selection dropdown
2024-01-18 15:59:22 +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