summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2018-03-23Merge pull request #17612 from robfram/fix-richtextlabel-bbcodeRémi Verschelde
Fix bad rendering of BBCode tables in `RichTextLabel`
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.
2018-03-10Fix infinite loop in GridContainer layoutGary Oberbrunner
I had a grid container and tried to set rect.min_height larger in the editor; that caused an infinite loop in GridContainer::_notification at line 118. The reason is max_index was being set to the *height* of the row, not the *index* of the row. So later when it tried to erase that row and try again, there was nothing to erase. I applied the same fix to the width code.
2018-03-10Fixes infinite loop in GridContainerGilles Roudiere
2018-03-09auto-completion edge jumpAlexander Holland
arrow up/down jumps to end/start on edges
2018-03-07Prevent division by zero in GridContainerLeon Krause
2018-03-06Fix bad autocomplete of partially written node paths when using syntactic ↵robfram
sugar notation ($) If you had a tree like Node2D->Sprite->Camera2D and you write a code like $Node2D/Spr and chose the autocompletion sugested Node2D/Sprite, the resulting string was $Node2D/Node2D/Sprite instead $Node2D/Sprite. If you chose Node2D/Sprite/Camera2D, then you ended with $Node2D/Node2D/Sprite/Camera2D. Fix #15813.
2018-03-05Fix BaseButton not always calling _pressed()bncastle
Fix "ui_accept" action in BaseButton.cpp not calling _pressed() func in GDScript
2018-03-02Fix more regressions in RichTextLabel from PR 15711Bernhard Liebl
2018-03-01Fix regression through fa98637acaab9135568bf0d43a65c9c96b59c32dpoke1024
2018-02-28Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam
2018-02-27Merge pull request #16656 from JFonS/fix_gradient_crashRémi Verschelde
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
2018-02-23Add two new default actions ui_end, ui_homeFabio Alessandrelli
Used by Slider and Scrollbar
2018-02-23Add item_focused signal to OptionButtonFabio Alessandrelli
And id_focused to Popupmenu.
2018-02-23Scrollbar now uses UI actions instead of keysFabio Alessandrelli
2018-02-23Line edit up/down focus pass throughFabio Alessandrelli
When line edit receive a up/down and the cursor is at beginning/end it will not set the input as handled
2018-02-23Tree now uses UI actions instead of keysFabio Alessandrelli
2018-02-23Popupmenu now uses UI actions instead of keysFabio Alessandrelli
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-21Fixed disappearing text on filedialog buttonsMax
2018-02-20Fixed "Open" button being enabled when nothing is selected in a FileDialog ↵Michael Alexsander Silva Dias
while in "Open folder" mode.
2018-02-20Merge pull request #16455 from volzhs/close-docsRémi Verschelde
Keep to show current script when closing all docs
2018-02-20Keep to show current script when closing all docsvolzhs
also fix error when removing multiple tabs from TabContainer at same frame. like closing multiple docs at once. Fix #16403
2018-02-19Merge pull request #16652 from aragar/FixQuotationInStringRémi Verschelde
Fix quotation in string
2018-02-19Merge pull request #15306 from poke1024/item-list-draw-speedRémi Verschelde
Boost drawing speed of ItemLists with many items
2018-02-19Fixes OptionButton selection index being reset to zero at instanciationAlexander Alekseev
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order. Fixes #10213.
2018-02-19Merge pull request #16566 from groud/gui_input_reworkRémi Verschelde
2D Editor GUI input rework
2018-02-18Force controls to save rect_clip_content since they do not all default to false.isaacremnant
2018-02-17Clean up some bad words from code commentsArtem Varaksa
2018-02-162D editor GUI input rework. Changes are:Gilles Roudiere
- The input handling is done into several distinct functions, and the code is more consistent. - The actions' history is more precise ("Edited CanvasItem" is now "Rotated CanvasItem","Moved CanvasItem",etc...) - Fixed a little bug about input key events not forwarded correctly to plugins - IK is followed by default when you move a bone node, the alt-key allow you to move it normally
2018-02-14Fix weird editor crash when switching from editing one gradient to another ↵JFonS
keeps 'grabbing' variable to true
2018-02-14Merge pull request #15618 from ianb96/fold_commentRémi Verschelde
TextEdit folding over unindented comments
2018-02-14Merge pull request #15711 from poke1024/fix-rtl-descentRémi Verschelde
Fixes wrong vertical font layout in RichTextLabel
2018-02-14Merge pull request #15855 from mrcdk/texture_button_mask_fixesRémi Verschelde
The TextureButton's bitmask takes into account the stretch mode selected