Yuri Sizov
752402cf35
Clean-up, harmonize, and improve StyleBox API
...
- Make all margin properties follow the same naming convention (their getter and setter too).
- Remove a virtual counterpart of `get_style_margin` from API.
- Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19 20:02:21 +03:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Haoyu Qiu
e57cdab568
Fix scroll grabber can't reach ends in default theme
2023-01-03 15:44:24 +08:00
Yuri Sizov
b67a938caa
Add fallback values for font and scale to the default theme
2022-12-21 19:29:12 +03:00
Rémi Verschelde
d3b8faac74
ImageLoaderSVG: Improve error reporting
2022-11-23 13:27:31 +01:00
kobewi
84d6549c75
Change hue icons to horizontal GradientTexture2D
2022-11-02 15:34:15 +01:00
kobewi
f5981ff19d
Add a separate hue gradient for OKHSL mode
2022-11-02 14:44:41 +01:00
Rémi Verschelde
b6cbea5e58
Merge pull request #63590 from golfinq/fbg-padding
...
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31 11:14:55 +01:00
kobewi
c7eb814ede
Remove override_selected_font_color property
2022-10-26 12:59:18 +02:00
Rémi Verschelde
5b7f62af55
Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
...
ColorPicker UX
2022-10-07 09:49:29 +02:00
Rémi Verschelde
d8268aae30
Fix MSVC warnings C4324, C4389, C4456, and C4459
...
Part of #66537 .
2022-09-28 16:43:09 +02:00
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
39ef611a7d
Fix theming code in Panel, SplitContainer, RichTextLabel
2022-09-06 22:53:19 +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
Vitika9
1dce43d417
ColorPicker UX improvements
...
- Tabs and MenuButton for mode selection and enabling/disabling colorized sliders
- MenuButton for shape selection with new icon for each shape
- Drag and drop functionality for presets to arrange order
- A chronological list of recently selected presets which are global for the editor
- Presets are now highlighted as being active or inactive
- Thicker sliders for easy targeting
- `grabber_offset` theme constant for Slider
- Uncolorized sliders
2022-09-06 21:42:20 +05:30
kobewi
73929bef73
Rework oriented containers
2022-09-01 22:13:46 +02:00
Yuri Sizov
15fd025f90
Add dumb and manual theme caching systems to Window
2022-09-01 16:05:02 +03:00
Yuri Sizov
8b196be855
Add background to TabContainer's tabbar and editor docks
2022-08-29 23:43:32 +03:00
Yuri Sizov
6320a0fc18
Add ThemeDB, expose previously static Theme methods
2022-08-26 19:23:05 +03:00
Rémi Verschelde
7013c68619
Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0
2022-08-26 11:59:07 +02:00
Yuri Sizov
c78cbb523f
Extract editor color map and simplify SVG color conversion
2022-08-24 15:59:14 +03:00
bruvzg
bcc3643989
Add font LCD sub-pixel anti-aliasing support.
2022-08-23 08:47:21 +03: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
kobewi
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
FireForge
fe2f62f128
Adjust 2 default theme colors in ItemList and Tree
...
- Change Tree's drop_position_color from orange to white.
- Change ItemList's guide_color to the same color as Tree's, which fits in with a dark theme better.
2022-08-02 17:48:11 -05:00
golfinq
b341339415
Add padding options in theme for fg/bgcolor tags
2022-07-31 12:24:07 -04:00
Rémi Verschelde
90019676b0
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 11:17:40 +02:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
kobewi
0f630f8307
Document most of the Window's members
2022-06-22 20:46:27 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
Hendrik Brucker
771cb1261a
Improve and fix the GraphNode port hotzones
...
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
Hugo Locurcio
8962d2760d
Tweak the disabled files text color in FileDialog for readability
...
Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.
2022-05-20 16:59:34 +02:00
Hugo Locurcio
383a27e930
Tweak the default font's fake italic to better match Open Sans Italic
2022-05-20 01:31:25 +02:00
Hendrik Brucker
6d876baf60
Improve the VisualShader/VisualScript editor UI
2022-04-30 03:56:57 +02:00
Hugo Locurcio
43c34bf611
Add MSDF and mipmap generation project settings for the default font
...
This can be used to improve Label3D and scaled Control appearance
in prototypes.
2022-04-25 16:47:44 +02:00
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
Rémi Verschelde
7a4c203ce9
Merge pull request #60225 from YeldhamDev/popmenu_arrow_slim
...
Reduce width of arrow icons for the default theme in `PopupMenu`
2022-04-14 21:24:21 +02:00
Michael Alexsander
bab2f3c021
Add font_separator
and related properties to PopupMenu
2022-04-13 23:46:35 -03:00
Michael Alexsander
c088e2f416
Reduce width of arrow icons for the default theme in PopupMenu
2022-04-13 23:22:46 -03:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
bruvzg
78051f93a3
Convert the editor and default theme fonts to WOFF2 format to save space.
2022-03-25 11:45:55 +02:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00