1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-03 16:55:53 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Malcolm Anderson
a48353b1c6 Stop drawing of MarginContainer margins if not in tree
Use `is_visible_in_tree()` as per KoBeWi's suggestion
2025-11-13 16:35:13 -08:00
Thaddeus Crews
ac8991c3c3 Merge pull request #109237 from arkology/theme-editor-ui
`ThemeEditor`: Reorganize/fix UI to make it fit in editor (at its minimum size in single-window mode) better
2025-11-10 08:20:09 -06:00
Thaddeus Crews
e6768b5db4 Merge pull request #111095 from Meorge/feat/margincontainer-viz
Visualize MarginContainer margins when selected
2025-10-14 10:31:24 -05:00
Thaddeus Crews
2568505535 Merge pull request #108065 from lodetrick/range-hint-cleanup
Clean up numeric EditorProperty `setup()` methods
2025-10-13 19:28:34 -05:00
Logan Detrick
7998b5e8d2 Cleanup EditorProperty setup methods 2025-10-08 15:52:46 -07:00
Malcolm Anderson
36c7bbb47a Visualize MarginContainer margins when selected
This time as an EditorPlugin!

Improve rendering of inner area of MarginContainer

Decrease thickness and opacity of lines, and render margins as a rectangle rather than lines extending to the edges of the bounding box

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Use `get_margin_size`, change color of viz border, and trigger redraw on MarginContainer's draw signal
2025-10-03 11:42:05 -07:00
A Thousand Ships
bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Thaddeus Crews
709226ad1c Merge pull request #109515 from precup/speedy-selections
Speed up large selections in the editor
2025-09-22 21:00:54 -05:00
Michael Alexsander
f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
Mike Precup
1c8e3f9037 Speed up large selections in the editor 2025-08-31 14:25:44 -07:00
Haoyu Qiu
e5373c5cb0 Validate theme type name input in Add Theme Type dialog 2025-08-28 15:47:37 +08:00
arkology
4f1f01f2d1 ThemeEditor: Reorganize/fix UI to make it fit in editor (at its minimum size in single-window mode) better
Replace text for add/close buttons with icons, remove theme preview custom minimum width, fix "Manage Items" window size in single-window mode and editor window at minimum size. Also theme preview tab looks like scenes tab.
This allows to reduce minimum size of `ThemeEditor`, improving (partially fixing) the use of non-standard editor layouts (for example, 2 columns for left dock and 1 column for right dock) without panels pushed out of screen.
2025-08-23 13:31:49 +03:00
aaronp64
842b44d872 ThemeEditor fix to show filename for new/renamed files
Updated ThemeEditor to set the theme name label when theme file is initially created or renamed.
2025-08-14 15:20:50 -04:00
Haoyu Qiu
5593ac4e3b Fix some inspector action buttons not updating icon when theme changes 2025-08-04 15:30:36 +08:00
Michael Alexsander
e924d2b565 Fix unwanted resource duplication in the theme editor 2025-07-12 12:39:55 -03:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00