Rémi Verschelde
e0c7916f73
Merge pull request #59069 from fire-forge/stylebox_margin_functions
...
Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
2022-09-07 17:52:58 +02:00
Rémi Verschelde
48705b1f03
Merge pull request #65355 from groud/split_container_min_grab_thickness
...
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 17:51:52 +02:00
FireForge
dd7ee37c8a
Add set_default_margin_all/individual to StyleBox
2022-09-07 16:37:36 +03:00
Gilles Roudière
4cbcb5acda
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 12:33:02 +02:00
Rémi Verschelde
2841bc358c
Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matter
...
Make `AcceptDialog` and derivatives utilize `StyleBox` fully
2022-09-07 09:09:15 +02:00
Yuri Sizov
5eaf82b4f0
Make AcceptDialog and derivatives utilize StyleBox fully
2022-09-07 01:42:11 +03:00
Yuri Sizov
43f03e2ce6
Improve naming of theme properties throughout GUI code
...
Rename ItemList's bg -> panel
Rename ItemList's bg_focus -> focus
Rename ProgressBar's bg -> background
Rename ProgressBar's fg -> fill
Rename Tree's bg -> panel
Rename Tree's bg_focus -> focus
Rename ScrollContainer's bg -> panel
Rename FileDialog's *_icon_modulate -> *_icon_color
Rename FileDialog's files_disabled -> file_disabled_color
Rename CheckButton's on/off -> checked/unchecked
Rename check_v_adjust -> check_v_offset
2022-09-06 22:53:17 +03:00
FireForge
6e8dc5130d
Various editor UI fixes (bottom panel corner radius and scene tab bar)
...
- Fix top corners of bottom panel not having rounded corners
- Fix scene tab bar background expanding vertically by corner radius
- Remove two unneccesary theme items from the editor theme:
- EditorStyles/SceneTabFG
- EditorStyles/SceneTabBG
- Remove an instance where the scene TabBar was having its styleboxes overriden to the default value, which has no effect.
2022-09-05 15:11:57 -05:00
Yuri Sizov
00fa4e23e4
Merge pull request #65230 from fire-forge/itemlist-spacing
2022-09-05 19:59:06 +03:00
Rémi Verschelde
9dfa14d5c2
Merge pull request #65181 from fire-forge/corner-details
2022-09-02 23:19:51 +02:00
RedMser
7664ea8c97
EditorTheme: Remove rounded corners for all popups
...
Expands #59045 to apply to all kinds of popups,
since they all render as separate windows.
2022-09-02 18:24:33 +02:00
FireForge
77121efdff
Increase ItemList v_separation in editor theme
...
ItemList now uses the same value for v_separation as PopupMenu. This makes it easier to select items.
2022-09-01 21:51:17 -05:00
kobewi
73929bef73
Rework oriented containers
2022-09-01 22:13:46 +02:00
FireForge
b42d692648
Decrease StyleBoxFlat corner detail in editor theme
...
Also makes some minor changes to other areas of the editor theme.
2022-09-01 10:01:10 -05:00
Rémi Verschelde
292b94b97c
Merge pull request #65089 from YuriSizov/editor-launch-bar-with-style
...
Improve style and add contextual highlight to the editor launch pad
2022-08-30 21:18:41 +02:00
Rémi Verschelde
e27b61d291
Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bg
2022-08-30 18:53:54 +02:00
Yuri Sizov
a462d6e402
Improve style and add contextual highlight to the editor launch pad
2022-08-30 18:10:45 +03:00
Yuri Sizov
8b196be855
Add background to TabContainer's tabbar and editor docks
2022-08-29 23:43:32 +03:00
Yuri Sizov
88ab58821d
Fix some editor theme regressions
2022-08-29 18:01:41 +03:00
Yuri Sizov
c78cbb523f
Extract editor color map and simplify SVG color conversion
2022-08-24 15:59:14 +03:00
SaracenOne
dd814a0dca
Disable editing properties in foreign resources
...
from imported scenes or objects returning
true from a function named '_is_read_only' and
disable resaving imported resources.
2022-08-23 23:16:13 +01:00
Hugo Locurcio
7849331ec5
Create a SVG default project icon in new projects
...
This allows the icon's scale to be changed using the `svg/scale`
import option, including to scales greater than the default 128×128.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-08-20 01:01:11 +02:00
Yuri Sizov
0d95b8bff2
Merge pull request #59045 from Calinou/editor-theme-popup-no-rounded-corners
...
Don't use rounded corners for PopupMenus in the editor theme
2022-08-19 02:42:17 +03:00
Max Hilbrunner
420a8c888e
Merge pull request #63950 from bruvzg/menu_bar3
...
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19 01:24:24 +02:00
Hugo Locurcio
ce8b402f3a
Don't use rounded corners for PopupMenus in the editor theme
...
PopupMenus use separate windows by default in the editor, and windows
no longer support per-pixel transparency for now in 4.0.
Even if per-pixel transparency was reimplemented, we can't assume
that it'll always work in practice (e.g. when compositing is disabled).
2022-08-18 22:17:55 +02:00
bruvzg
8c56a7416b
Implement MenuBar
control to wrap PopupMenu
s or native menu, use native menu for editor.
2022-08-18 22:25:44 +03:00
Yuri Sizov
7a60cc7737
Improve editor toolbar for Control nodes
2022-08-16 17:36:16 +03:00
kobewi
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
Hugo Locurcio
3dab891691
Tweak PopupMenu item spacing in the editor theme
...
- Increase spacing between items for easier clicking with the mouse.
- Increase lateral margins for better visual appearance.
- Decrease margin at the top and bottom to compensate for the increased
per-item height.
2022-08-05 11:29:12 +02:00
Michael Alexsander
1bd9efae36
Fix text position when hovering pressed CheckButton/Box
elements in the editor
2022-08-03 11:08:30 -03:00
Hugo Locurcio
dc0ac50f45
Visually line up the selected tab with the underlying panel with borders
2022-08-03 11:01:33 +02:00
Yuri Sizov
86798d36db
Remove CustomPropertyEditor
completely
2022-08-01 22:57:05 +03:00
Hugo Locurcio
0a24d40836
Improve script editor's light theme syntax colors for better readability
...
New colors were hand-picked to have a better contrast rate,
while still following the general coloring of the previous light theme.
This improves the light theme's accessibility, especially in outdoor
environments with direct sunlight.
2022-07-31 23:40:48 +02:00
PhoenixFlame101
dd8cee4b50
Fix code folding icon color not matching defined color
...
Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.
- Create new icons for use specifically in the code editor
- Add these icons to the exceptions when converting dark theme icons
to light theme automatically
- Change the default value of the code folding color to match previous
color
- Code folding icon is now pure white by default to correctly match
the color defined in settings
2022-07-20 23:05:47 +03:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
Rémi Verschelde
a2b20c15be
Merge pull request #61698 from raulsntos/icon_color-editor-theme
...
Add icon colors to editor theme
2022-06-24 09:09:30 +02:00
Raul Santos
842a3efe84
Add icon colors to editor theme
...
Add `icon_normal_color`, `icon_pressed_color`, and
`icon_disabled_color` to `Button`, `OptionButton`,
`CheckButton`, and `CheckBox`.
2022-06-23 20:02:27 +02:00
FireForge
d605d13324
Add margins to Array and Dictionary editors
2022-06-11 10:44:15 -05:00
Rémi Verschelde
efcf0d88e4
Merge pull request #61454 from fire-forge/round-script
2022-06-10 10:53:19 +02:00
Rémi Verschelde
4922fee09e
Merge pull request #59770 from fire-forge/rounded-corners
2022-06-10 10:53:09 +02:00
Rémi Verschelde
ab2fd4a671
Merge pull request #59776 from fire-forge/more-round
2022-06-10 10:52:44 +02:00
kobewi
9036fcbe5e
Remove TooltipPanel and TooltipLabel
2022-06-09 22:23:11 +02:00
Guilherme Felipe de C. G. da Silva
4bf5047fb0
Fix state machine style
2022-06-03 14:59:00 -03:00
Rémi Verschelde
532e253a7c
Merge pull request #61455 from fire-forge/tab
...
Add color contrast to TabContainer backgrounds in the editor
2022-05-31 12:52:03 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
FireForge
eb573da2b5
Use "odd" style for TabContainers on base BG color
...
- Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
2022-05-26 21:19:15 -05:00
FireForge
c159c64a28
Add rounded corners to the script editor
2022-05-26 20:36:21 -05:00
kobewi
e7b0e7e35a
Improve style of inspector buttons
2022-05-25 22:54:47 +02:00
FireForge
42d1a96904
Add rounded corners to the contextual toolbar
...
- Move contextual toolbar stylebox to the editor theme because it's the same in the 2D and 3D editors
2022-05-25 15:43:40 -05:00