summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2020-11-26Merge pull request #43807 from Xrayez/aspect-ratio-containerRémi Verschelde
Add `AspectRatioContainer` class
2020-11-26Removed unused property 'pending_resize' from ControlEric M
2020-11-25Add `AspectRatioContainer` classAndrii Doroshenko (Xrayez)
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-valueRémi Verschelde
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25Update clear button when clickedTomasz Chabora
2020-11-25Fix to update scroll bar has correct max value in ScrollContainervolzhs
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16Merge pull request #41851 from EricEzaM/PR/popup-menu-hysteresisRémi Verschelde
Added hysteresis for popup sub-menus
2020-11-15GUI: send cursor data from TextEditSergey Minakov
2020-11-11Merge pull request #43449 from nekomatata/line_edit_window_posRémi Verschelde
Expose LineEdit scroll offset to scripts
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-11-08Added hysteresis for popup sub-menusEric M
This adds a small lag effect when opening submenus which allow the user to move directly to an item on the submenu without worrying about avoiding the autohide regions.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.
2020-10-29Fix crash in TabContainer in case of no content at allvolzhs
2020-10-28Removed redundant line from TextEditYuri Roubinsky
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28Merge pull request #42766 from volzhs/tab-containerRémi Verschelde
Put unselected tabs back in TabContainer control
2020-10-27Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio
This makes it clearer that it expects a node type as a string (such as "Label") instead of a type like "TYPE_ARRAY". This is backwards-compatible since only the name of the parameter is changed, not its order.
2020-10-25ScriptEditor: Fix line number gutter drag selectDevin Curry
Fixes issue #42722
2020-10-24Rename button group property to button_groupAaron Franke
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-10-22Merge pull request #42907 from Xrayez/add-ref-rect-border-widthRémi Verschelde
Add `border_width` to `ReferenceRect`
2020-10-21Remove printing of windowpos/screenpos in MenuButtonYuri Roubinsky
2020-10-20Add `border_width` to `ReferenceRect`Andrii Doroshenko (Xrayez)
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
2020-10-20Removed underscore from GraphEdit begin/end_node_move signalsYuri Roubinsky
2020-10-20Merge pull request #42891 from gvaneyck/graph-begin-node-move-timingRémi Verschelde
Fix emit_signal timing for GraphEdit's begin/end node move
2020-10-19Fix emit_signal timing for GraphEdit's begin/end node moveGabriel Van Eyck
2020-10-19Merge pull request #42874 from dreamsComeTrue/text-edit-bounds-fixRémi Verschelde
TextEdit - fix valid bounds in 'set_line'.
2020-10-19Fixup `ColorRect` and `TextureRect` renamesAndrii Doroshenko (Xrayez)
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-17TextEdit - fix valid bounds in 'set_line'. Fixes #41967Dominik 'dreamsComeTrue' Jasiński
2020-10-13Fixed main gutter not drawing on item togglePaulb23
2020-10-13Put unselected tabs back in TabContainer controlvolzhs
2020-10-13Remove redundant property "enabled_focus_mode"FIF15
Fixes #41529.
2020-10-13Respect Tree.set_icon_max_width size for drawing selection boxvolzhs
2020-10-02Updated getters and setters names for toplevelDuroxxigar
2020-10-02Merge pull request #42451 from Duroxxigar/rename-toplevelRémi Verschelde
Renamed toplevel to be top_level
2020-10-01Merge pull request #38743 from arrowinaknee/node-config-warningsRémi Verschelde
Update all get_configuration_warning() to retrieve warnings from the parent
2020-10-01Renamed toplevel to be top_levelDuroxxigar
2020-09-29Merge pull request #41895 from 11thPenguin/masterRémi Verschelde
Fix minor typo, gui_hid -> gui_hide
2020-09-28Merge pull request #42092 from DashCell/dropping_file_on_parrent_directory_fixRémi Verschelde
Dropping file on parent directory fixed
2020-09-24Merge pull request #42066 from dalexeev/output_copyRémi Verschelde
Improvement for the Copy button in the Output Log
2020-09-18Fix popup menu item selected when opening the menuPouleyKetchoupp
In order to allow selecting items by either holding left click, or click to open and click again to select, mouse button release was invalidated based on the amount of mouse motion. This was causing issues in some scenarios where an item could be selected while opening the menu if the mouse moved enough between button press and release. This case could happen in the language selection of the project manager, especially on linux, because of the order and timing of the mouse events on x11. This change invalidates mouse release based on a timing condition rather than moved distance to handle any case from the display server properly.
2020-09-16Dropping file on parrent dirrectory fixedDashcell
2020-09-15Merge pull request #41776 from EricEzaM/PR/tooltip-bugfixesRémi Verschelde
Tooltip flickering and targeting fixes.
2020-09-15Tooltip flickering and targeting fixes.Eric M
2020-09-14Improvement for the Copy button in the Output LogDanil Alexeev
Now if no text is selected, pressing the Copy button copies the entire text.