summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
2022-09-16Improve icon generation in the editor themeYuri Sizov
2022-09-12Fix some errors affecting the Web editorRémi Verschelde
- Don't warn about minimized/maximized modes not being available. - Blender and FBX export both depend on running thirdparty applications, which can't be done (easily at least) for Web and Android editors. - Editor theme complained about not being able to retrieve texture data for an icon. It was only used once so instead of flipping at runtime, let's just add a flipped icon. Part of #65702.
2022-09-07Allow images to be imported "for editor use" and respect editor settingsYuri Sizov
2022-09-07Merge pull request #59069 from fire-forge/stylebox_margin_functionsRémi Verschelde
Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
2022-09-07Merge pull request #65355 from groud/split_container_min_grab_thicknessRémi Verschelde
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07Add set_default_margin_all/individual to StyleBoxFireForge
2022-09-07Allow SplitContainer to have a grab area larger than its visual grabberGilles Roudière
2022-09-07Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matterRémi Verschelde
Make `AcceptDialog` and derivatives utilize `StyleBox` fully
2022-09-07Make AcceptDialog and derivatives utilize StyleBox fullyYuri Sizov
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
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-05Various editor UI fixes (bottom panel corner radius and scene tab bar)FireForge
- 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-05Merge pull request #65230 from fire-forge/itemlist-spacingYuri Sizov
2022-09-02Merge pull request #65181 from fire-forge/corner-detailsRémi Verschelde
2022-09-02EditorTheme: Remove rounded corners for all popupsRedMser
Expands #59045 to apply to all kinds of popups, since they all render as separate windows.
2022-09-01Increase ItemList v_separation in editor themeFireForge
ItemList now uses the same value for v_separation as PopupMenu. This makes it easier to select items.
2022-09-01Rework oriented containerskobewi
2022-09-01Decrease StyleBoxFlat corner detail in editor themeFireForge
Also makes some minor changes to other areas of the editor theme.
2022-08-30Merge pull request #65089 from YuriSizov/editor-launch-bar-with-styleRémi Verschelde
Improve style and add contextual highlight to the editor launch pad
2022-08-30Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bgRémi Verschelde
2022-08-30Improve style and add contextual highlight to the editor launch padYuri Sizov
2022-08-29Add background to TabContainer's tabbar and editor docksYuri Sizov
2022-08-29Fix some editor theme regressionsYuri Sizov
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