summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2018-04-14ItemList selection: Check against item countShyRed
ItemList needs to check against the number of items available when the user moves the selection via "ui_right" action.
2018-04-13Merge pull request #17502 from groud/2Deditor_rectJuan Linietsky
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-11Use internal physics processing for Nodes' internal logicRémi Verschelde
2018-04-11Update classref and docs, fix missing parameters' namePoommetee Ketson
2018-04-10Fixed color region calculation for the first linePaulb23
2018-04-10Merge pull request #18095 from robfram/fix-lineedit-17113Rémi Verschelde
LineEdit placeholder alignment, content margins, and overflow bugs
2018-04-10Merge pull request #18091 from RandomShaper/icon-radio-itemRémi Verschelde
Add support for radio-looking items with icon
2018-04-10Merge pull request #17081 from endragor/no-press-when-scrollRémi Verschelde
Make Button not emit press when container is scrolled
2018-04-09LineEdit placeholder alignment, content margins, and overflow bugsrobfram
LineEdit doesn't correctly uses style margins nor use placeholders width correctly, causing multiple rendering bugs.
2018-04-09Merge pull request #16473 from ianb96/move_tabRémi Verschelde
Drag to Rearrange Editor Docks
2018-04-09Add support for radio-looking items with iconPedro J. Estébanez
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit. Fixes #18063.
2018-04-09Merge pull request #18040 from Paulb23/color_region_cacheRémi Verschelde
Fixed colour regions and added local colour region cache
2018-04-09Make BaseButton not emit press when container is scrolledRuslan Mustakov
This fixes the problem described in #13996 in a proper way. This also adds "deadzone" property to ScrollContainer. It can be used on mobile, where taps are not as precise as mouse clicks. Player could slightly move their finger when tapping, in which case we still want the button to be pressed rather than the container to be scrolled.
2018-04-08Drag to rearrange Tabs and TabContainerianb96
2018-04-08Merge pull request #16574 from isaacremnant/better_grow_directionJuan Linietsky
Added GROW_DIRECTION_BOTH for controls
2018-04-08Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-07Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky
Radio buttons in menus
2018-04-07Merge pull request #17744 from robfram/fix-rtl-tableJuan Linietsky
Fix `RichTextLabel` column size growing beyond its calculated `max_width`
2018-04-07Merge pull request #17752 from nikibobi/texture-progress-tintJuan Linietsky
Add tint property to TextureProgress
2018-04-07Merge pull request #17809 from RandomShaper/menu-item-on-releaseJuan Linietsky
Improve popup menus usability
2018-04-07Fixed color regions and added local color region cachePaulb23
2018-04-07Improve popup menus usabilityPedro J. Estébanez
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-04Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde
Abstracted the syntax highlighter from text edit.
2018-04-03Remove the selection rect for nodes that do not require itGilles Roudiere
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-04-01Added signal to VideoPlayer to notify when the video finished playingWilson E. Alvarez
2018-04-01add tint for under, progress and over and tint groupbosak
2018-03-27Use radio-button-like menu entries where applicablePedro J. Estébanez
2018-03-27Add radio-button-looking entries to PopupMenuPedro J. Estébanez
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually. `is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button. Keeping check in the name adds an additional clue about these facts. Closes #13055.
2018-03-24Fix `RichTextLabel` column size growing beyond its calculated `max_width`robfram
When `RichTextLabel` calculated the actual width of columns, it let them grow to sizes greater than its calculated `max_width`. Now this PR ensures no columns grows beyond `max_width`, and the excess width is distributed among the columns which can still grow. It should fix #17731.
2018-03-23Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23Merge pull request #17612 from robfram/fix-richtextlabel-bbcodeRémi Verschelde
Fix bad rendering of BBCode tables in `RichTextLabel`
2018-03-21add tint property to TextureProgress changes progress colorbosak
2018-03-19Merge pull request #17618 from groud/fix_gridcontainerRémi Verschelde
Fixes wrong calculation of gridcontainer's children size
2018-03-18Fixes wrong calculation of gridcontainer's children sizeGilles Roudiere
2018-03-18Fix bad rendering of BBCode tables in `RichTextLabel`robfram
Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
2018-03-16Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli
GUI elements ui_action usage, improvements
2018-03-15Merge pull request #17293 from bncastle/basebutton_fix_pressedHein-Pieter van Braam
Fix "ui_accept" action not calling _pressed() function in GDScript Button
2018-03-13Merge pull request #17345 from AlexHolly/expose-itemlist-move-itemRémi Verschelde
expose Itemlist.move_item and optimize functionality
2018-03-13expose itemlist.unselect_all()Alexander Holland
2018-03-13expose Itemlist.move_item and optimize functionalityAlexander Holland
2018-03-13Merge pull request #17314 from robfram/complete-path-15813Rémi Verschelde
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-13Merge pull request #17359 from AlexHolly/completion-edge-jumpRémi Verschelde
Auto completion edge jump
2018-03-13Merge pull request #17383 from poke1024/colorpicker-tweaksRémi Verschelde
Better tab support for color picker
2018-03-13Merge pull request #17422 from robfram/fix-radial-textureprogressRémi Verschelde
Implement line clipping for `TextureProgress` to avoid bad rendering
2018-03-13Merge pull request #17410 from groud/fix_grid_containerRémi Verschelde
Fixes infinite loop in GridContainer
2018-03-13Merge pull request #17191 from garyo/fix_grid_contRémi Verschelde
Fix infinite loop in GridContainer layout
2018-03-12Various ui tweaks for color pickerBernhard Liebl
2018-03-11expose Itemlist.is_anything_selectedAlexander Holland
2018-03-10Implement line clipping for `TextureProgress` to avoid bad rendering due to ↵robfram
imprecise UV mapping Original code used a quick aproximation for simulating the correspondent texel in the `TextureProgress` texture as radial progress indicator. This lead to visualization errors. Changed it for a Liang-Barsky line clipping algorithm stripped to its minimum for this specific use case. Fix #17364.