Age | Commit message (Collapse) | Author |
|
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.
|
|
Fix bad rendering of BBCode tables in `RichTextLabel`
|
|
Fixes wrong calculation of gridcontainer's children size
|
|
|
|
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.
|
|
GUI elements ui_action usage, improvements
|
|
Fix "ui_accept" action not calling _pressed() function in GDScript Button
|
|
expose Itemlist.move_item and optimize functionality
|
|
|
|
|
|
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
|
|
Auto completion edge jump
|
|
Better tab support for color picker
|
|
Implement line clipping for `TextureProgress` to avoid bad rendering
|
|
Fixes infinite loop in GridContainer
|
|
Fix infinite loop in GridContainer layout
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
arrow up/down jumps to end/start on edges
|
|
|
|
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.
|
|
Fix "ui_accept" action in BaseButton.cpp not calling _pressed() func in
GDScript
|
|
|
|
|
|
|
|
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
|
|
Used by Slider and Scrollbar
|
|
And id_focused to Popupmenu.
|
|
|
|
When line edit receive a up/down and the cursor is at beginning/end it
will not set the input as handled
|
|
|
|
|
|
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
|
|
|
|
while in "Open folder" mode.
|
|
Keep to show current script when closing all docs
|
|
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
|
|
Fix quotation in string
|
|
Boost drawing speed of ItemLists with many items
|
|
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order.
Fixes #10213.
|
|
2D Editor GUI input rework
|
|
|
|
|
|
- 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
|
|
keeps 'grabbing' variable to true
|
|
TextEdit folding over unindented comments
|
|
Fixes wrong vertical font layout in RichTextLabel
|