Yuri Sizov
df13466139
Add type variations to Theme
2022-02-17 15:24:10 +03:00
Haoyu Qiu
8231303dec
Backport FlowContainer
2022-02-11 14:48:40 +08:00
Rémi Verschelde
0c7c640112
Merge pull request #57643 from YeldhamDev/smarter_pm_focus_port
2022-02-10 16:52:08 +01:00
Haoyu Qiu
a3f6033513
Improve TreeItem button API
2022-02-08 23:56:19 +08:00
Raul Santos
1d3de163dc
Add alignment options to icons on buttons.
...
They can now be centered and right-aligned.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
2022-02-07 21:29:37 +01:00
Rémi Verschelde
689f59dca0
Merge pull request #53463 from lawnjelly/vital_redraws
...
Add editor vital redraws only option
2022-02-04 21:42:49 +01:00
Michael Alexsander
f63bea9ef2
Make popup menus focus items automatically when not using the mouse
2022-02-04 17:20:26 -03:00
kobewi
621cf7d8d5
Update the minimum size of ViewportContainer
2022-02-02 13:21:03 +01:00
lawnjelly
a0c6d16c90
Add editor vital redraws only option
...
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:
* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00
kleonc
32d83053c4
TextureButton Fix logic for drawing only the focus texture
...
(cherry picked from commit 078b8c25ce
)
2022-01-31 22:54:25 +01:00
mashumafi
a118837af4
Fix button icon_color_disabled alpha channel
2022-01-30 13:15:05 -05:00
bruvzg
f8f83f05f2
Fix RichTextLabel uninitialized content height value.
2022-01-20 13:53:52 +02:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Hendrik Brucker
365486543d
Improve Colorpicker presets
2022-01-17 15:21:47 +01:00
Haoyu Qiu
64fcf7ee77
Fix LineEdit center and right alignment
2022-01-16 20:39:11 +08:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Yuri Sizov
58319564fa
Unify theme item lookup in Controls and respect default font
2022-01-13 15:21:55 +03:00
Danil Alexeev
458f65171c
Add BBCode escape sequences
...
(cherry picked from commit 884f1acff8
)
2022-01-12 17:40:15 +01:00
kobewi
9f7f7377dd
Set max value of inactive TextEdit scrolls to 0
...
(cherry picked from commit 892d93759c
)
2022-01-12 17:36:41 +01:00
kobewi
8edc8a95b1
Improve FileDialog filters
...
(cherry picked from commit b403954e41
)
2022-01-12 17:33:16 +01:00
LeaoLuciano
57cceb47d1
Fix memory leak in RichTextLabel.remove_line
...
(cherry picked from commit f21b5e4d2f
)
2022-01-12 17:32:19 +01:00
Haoyu Qiu
4621b41bfc
Add drag start/end signals for Slider
...
(cherry picked from commit 753ae7403f
)
2022-01-12 17:31:39 +01:00
kobewi
99195cc163
Fix TextureButton focus texture logic
...
(cherry picked from commit 11111d997e
)
2022-01-12 17:28:07 +01:00
Rémi Verschelde
aa6dde2cde
Merge pull request #56471 from jmb462/3.x
2022-01-12 16:46:44 +01:00
Rémi Verschelde
e805ec8574
Merge pull request #54871 from timothyqiu/remove-theme-override
...
[3.x] Add methods to remove theme overrides
2022-01-11 20:16:05 +01:00
Haoyu Qiu
09397f10c5
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:53:51 +08:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
Rémi Verschelde
89574a8258
Merge pull request #54296 from timothyqiu/rtl-fill-underline
...
[3.x] Fix `RichTextLabel` underline appearance when inside fill tag
2022-01-07 09:20:44 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
Yuri Sizov
2f333d6059
Fix an incorrect exposed property type in Tree
...
(cherry picked from commit f1bc5c976a
)
2022-01-06 00:36:12 +01:00
PucklaMotzer09
05eb33e701
Unfocus Control on NOTIFICATION_EXIT_TREE
...
(cherry picked from commit be2d59fa0a
)
2022-01-06 00:29:21 +01:00
kobewi
347823c275
Fix TabContainer not setting layout immediately
...
(cherry picked from commit a7a41a3431
)
2022-01-06 00:21:36 +01:00
jmb462
4de860c6d5
Fix PopupMenu bad item offset with custom vseparation
2022-01-03 22:15:59 +01:00
Christoph Nelles
72133365f4
Tree: Fix de-select when selection mode set to SELECT_ROW
...
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW. Fixes #36047
Update scene/gui/tree.cpp
Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:31:46 +00:00
Zae
23aaf78391
[3.x]Fix BaseButton's localization for tooltip text with shortcut
2021-12-21 03:44:16 +08:00
kobewi
9776241ce6
Bind column_titles_visible as property
...
(cherry picked from commit 7f6ab0006d
)
2021-12-06 16:52:00 +01:00
Rémi Verschelde
5e9853b038
Merge pull request #55453 from ator-dev/block-hidden-tab-close-3.x
...
Prevent hidden tab close buttons from intercepting input [3.x]
2021-11-30 00:15:55 +01:00
ator-dev
a8977006fd
Prevent hidden tab close buttons from intercepting input [3.x]
2021-11-29 20:26:19 +00:00
Red Headphone
aa95a4a436
progress_offset now added to reference cross draw function
...
(cherry picked from commit 8a6c6d5329
)
2021-11-29 16:43:25 +01:00
floppyhammer
689312267a
Fix nine patch of circular TextureProgressBar
...
(cherry picked from commit f9b1ce0922
)
2021-11-29 16:11:21 +01:00
Rémi Verschelde
df38da84b4
Merge pull request #55440 from bruvzg/fix_cell_width
2021-11-29 15:04:22 +01:00
Rémi Verschelde
eb5c2e1067
Merge pull request #55439 from KoBeWi/random_programming_ftw
2021-11-29 14:55:45 +01:00
bruvzg
33b26e5cdc
Fix RTL min/max line width calculation.
2021-11-29 15:36:42 +02:00
kobewi
820f7c9d15
Fix right alignment in RichTextLabel
2021-11-29 14:33:12 +01:00
Yuri Sizov
ba747e2a26
Add methods to get position from column and line in TextEdit
2021-11-29 00:06:16 +03:00
Haoyu Qiu
eb6f74855f
Allow toggle TextEdit bookmark gutter
2021-11-21 21:34:30 +08:00
Marcel Admiraal
4d3690eba5
Remove unimplemented methods
2021-11-18 12:47:36 +00:00
Anton Christoffersson
62db47a7fb
Fixed crash in ScrollContainer
_notification
...
(cherry picked from commit ee81979f90
)
2021-11-18 12:22:26 +01:00
Rémi Verschelde
86e0a0674a
Merge pull request #54330 from LennyPhoenix/lennyphoenix-patch-1
2021-11-15 23:36:12 +01:00
Lightning_A
086db0bf9f
Scrollwheel (w/o ctrl) to zoom, mouse warping when panning
...
Now uses Ctrl + Scrollwheel for vertical scrolling
Ctrl + Shift Scrollwheel for horizontal scrolling
Also converts some macros to constants
(cherry picked from commit 13ba788b63
)
2021-11-15 16:10:00 +01:00