summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-08-09Merge pull request #43158 from nathanfranke/fix-gradient-and-draw-tileRémi Verschelde
Fix Gradient and Color Picker checkerboard, Fix tile parameter for CanvasItem.draw_texture_rect
2021-08-08[Text Server] Improve object (image/table) inline alignment.bruvzg
2021-08-07Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tileNathan Franke
2021-08-07Redraw on item list custom bg/fg colour changePaulb23
2021-08-05Shortcut: Rename `shortcut` property to `event`Rémi Verschelde
Having a property which has the same name as its class leads to confusing situations (e.g. `BaseButton` has a `shortcut` property of type `Shortcut` which has a `shortcut` property of type `InputEvent`). Also renames `is_event` to `matches_event`, and `is_valid` to `has_valid_event` to better reflect what the methods check.
2021-08-03Merge pull request #51177 from kleonc/tab_container-drop-tab-index-fixRémi Verschelde
TabContainer Fix moving dropped tab to incorrect child index
2021-08-02Improve CodeEdit's callhint highlight visibilityHugo Locurcio
This makes the currently edited parameter more visible in the script editor's code completion hint.
2021-08-02Merge pull request #50122 from Paulb23/code_edit_auto_brace_completionRémi Verschelde
2021-08-02TabContainer Fix moving dropped tab at incorrect child indexkleonc
2021-08-02Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière
node instead
2021-08-01Clean up and complete CodeEdit inspector and docsPaulb23
2021-08-01Move symbol lookup into CodeEditPaulb23
2021-08-01Move line length guidelines into CodeEditPaulb23
2021-08-01Move brace matching into CodeEditPaulb23
2021-08-01Move auto brace completion to CodeEditPaulb23
2021-07-31Make theme item overrides more obvious in the InspectorYuri Sizov
2021-07-30Fix "Custom *" theme sections being inside "Auto Translate"Michael Alexsander
2021-07-29Add `auto_translate` toggle for automatic translationMichael Alexsander
2021-07-27Multiple cosmetic fixes for embedded windowsMichael Alexsander
2021-07-26Make `switch_on_hover` work on embedded windowsMichael Alexsander
2021-07-25Merge pull request #50835 from bruvzg/optimize_is_rtlRémi Verschelde
Optimise `is_layout_rtl`.
2021-07-25Merge pull request #50809 from akien-mga/iterators-const-referencesRémi Verschelde
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25Optimise `is_layout_rtl` by caching its return value.bruvzg
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-23Fix popup submenu in single-window modejfons
The internal processing code only works for OS windows, since it takes the mouse position relative to the window and not the viewport. Now we make sure it's not called in single-window mode.
2021-07-22Make `MenuButton`'s `switch_on_hover` work againMichael Alexsander
2021-07-21Fix logic for Popup closing when parent is focusedPouleyKetchoupp
The member popped_up is used to avoid closing a Popup before it had a chance to be focused. It wasn't reset properly when the popup is hidden, causing the Popup to close right after showing in some random cases (spotted on X11, might not happen on Windows).
2021-07-20Merge pull request #50655 from JFonS/sname_optRémi Verschelde
Editor StringName and Viewport optimizations
2021-07-20Editor StringName and Viewport optimizationsJoan Fons
* Added explicit return type to the SNAME macro. * Add some extra SNAME usages. * Change some ClassDB methods to use const StringName & arguments. * Cache the Window parent in Control because it's used in is_layout_rtl(), which is called often. * Only enable internal processing for viewports that need it. * Change CanvasItem::group to be a StringName because it's only used as that.
2021-07-20Merge pull request #50605 from Calinou/tweak-shader-code-styleRémi Verschelde
Use C++11 raw literals for shader code to improve readability
2021-07-19Merge pull request #50588 from bruvzg/menu_genRémi Verschelde
Optimize LineEdit and TextEdit menu item generation.
2021-07-19Merge pull request #50606 from Chaosus/textedit_fix_guttertypeRémi Verschelde
Fixed typos in `TextEdit::GutterType` enum
2021-07-19Fixed typos in `TextEdit::GutterType` enumYuri Roubinsky
2021-07-19Use C++11 raw literals for shader code to improve readabilityHugo Locurcio
In files that have lots of branching, `\t` was replaced with a tab character instead.
2021-07-19Optimize LineEdit and TextEdit menu item generation.bruvzg
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-17Create many types of popups on demandreduz
* LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
2021-07-14Merge pull request #48502 from KoBeWi/visual_buttonRémi Verschelde
Add set_pressed_no_signal method to BaseButton
2021-07-13Add header theme type variations to labelskobewi
2021-07-13Merge pull request #50169 from pycbouh/theme-type-variationsRémi Verschelde
2021-07-13Add set_pressed_no_signal method to BaseButtonkobewi
2021-07-13Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde
Improvements to Label's layout options
2021-07-13Merge pull request #50135 from KoBeWi/🌲.update()Rémi Verschelde
Update Tree when modified
2021-07-13Add type variations to ThemeYuri Sizov
2021-07-07Add cache to color picker for presetsFrancois Belair
This prevents loading from the project metadata more than once, significantly saving performance with nodes that have color pickers.
2021-07-07Merge pull request #50208 from kleonc/accept_dialog-remove_buttonRémi Verschelde
Add AcceptDialog::remove_button method
2021-07-07Merge pull request #49890 from voxelv/fix_tree_range_click_timeout_crash_46648Hugo Locurcio
Avoid using a nullptr root in Tree._range_click_timeout().
2021-07-06Add AcceptDialog::remove_button methodkleonc