summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
2022-08-24Extract editor color map and simplify SVG color conversionYuri Sizov
2022-08-23Disable editing properties in foreign resourcesSaracenOne
from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
2022-08-20Create a SVG default project icon in new projectsHugo Locurcio
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-19Merge pull request #59045 from Calinou/editor-theme-popup-no-rounded-cornersYuri Sizov
Don't use rounded corners for PopupMenus in the editor theme
2022-08-19Merge pull request #63950 from bruvzg/menu_bar3Max Hilbrunner
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-18Don't use rounded corners for PopupMenus in the editor themeHugo Locurcio
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-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-16Improve editor toolbar for Control nodesYuri Sizov
2022-08-11Add missing properties to default themekobewi
2022-08-05Tweak PopupMenu item spacing in the editor themeHugo Locurcio
- 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-03Fix text position when hovering pressed `CheckButton/Box` elements in the editorMichael Alexsander
2022-08-03Visually line up the selected tab with the underlying panel with bordersHugo Locurcio
2022-08-01Remove `CustomPropertyEditor` completelyYuri Sizov
2022-07-31Improve script editor's light theme syntax colors for better readabilityHugo Locurcio
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-20Fix code folding icon color not matching defined colorPhoenixFlame101
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-08Add static methods for creating Image and ImageTexturekobewi
2022-07-03Add the ability to drag the code completion scrollbar using the mouse clickMinusKube
2022-06-24Merge pull request #61698 from raulsntos/icon_color-editor-themeRémi Verschelde
Add icon colors to editor theme
2022-06-23Add icon colors to editor themeRaul Santos
Add `icon_normal_color`, `icon_pressed_color`, and `icon_disabled_color` to `Button`, `OptionButton`, `CheckButton`, and `CheckBox`.
2022-06-11Add margins to Array and Dictionary editorsFireForge
2022-06-10Merge pull request #61454 from fire-forge/round-scriptRémi Verschelde
2022-06-10Merge pull request #59770 from fire-forge/rounded-cornersRémi Verschelde
2022-06-10Merge pull request #59776 from fire-forge/more-roundRémi Verschelde
2022-06-09Remove TooltipPanel and TooltipLabelkobewi
2022-06-03Fix state machine styleGuilherme Felipe de C. G. da Silva
2022-05-31Merge pull request #61455 from fire-forge/tabRémi Verschelde
Add color contrast to TabContainer backgrounds in the editor
2022-05-30Improve Graphedit connection linesHendrik Brucker
2022-05-26Use "odd" style for TabContainers on base BG colorFireForge
- 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-26Add rounded corners to the script editorFireForge
2022-05-25Improve style of inspector buttonskobewi
2022-05-25Add rounded corners to the contextual toolbarFireForge
- Move contextual toolbar stylebox to the editor theme because it's the same in the 2D and 3D editors
2022-05-25Add rounded corners to EditorProperty and EditorSpinSliderFireForge
- Adds rounded corners to the EditorProperty child background, EditorSpinSlider label background, and resource sub-inspector borders and background. - Allows customizing EditorSpinSlider label background through a new Theme StyleBox property, label_bg. - Makes margins consistent in resource sub-inspectors. - Removes space between buttons in NodePath, Resource, and multiline string editors. - Adds space between label background and content for vertical property editors.
2022-05-23Increase saturation of accent color on the Gray editor theme presetHugo Locurcio
This also renames the Gray editor theme preset to use US spelling.
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Tweak minsize of editor ColorPickerButtonskobewi
2022-05-16Merge pull request #60463 from Geometror/improve-vs-1Rémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-04-30Improve the VisualShader/VisualScript editor UIHendrik Brucker
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- 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-22Continue to improve vector4 type in visual shadersYuri Roubinsky
2022-04-08Remove unused SplitContainer bg theme propertykobewi
2022-03-26Merge pull request #59336 from YeldhamDev/where_we_dropping_boysRémi Verschelde
2022-03-22Use accent color for some editor iconsFireForge
2022-03-21Add visual marker when dragging and dropping tabsMichael Alexsander
2022-03-16Merge pull request #59183 from YeldhamDev/assetlib_less_bordersRémi Verschelde
Remove extra borders from the AssetLib plugin
2022-03-15Remove extra borders from the AssetLib pluginMichael Alexsander
2022-03-15Merge pull request #59135 from ↵Rémi Verschelde
EricEzaM/improvement/editor-log-better-button-style
2022-03-15Improve editor log message filter button styles.Eric M
2022-03-10Merge pull request #58981 from EricEzaM/improvement/popup-menu-even-spacingRémi Verschelde