Hugo Locurcio
0c424abe3c
Fix Tree's background focus outline displaying behind section headings
...
(cherry picked from commit 63897f16b1
)
2021-05-09 17:51:36 +02:00
kobewi
cb5870dd4a
Display arrow cursor if text is not editable
...
(cherry picked from commit c3967c80ab
)
2021-05-09 17:50:06 +02:00
besh81
c1e887edb8
Fixed bug in tab_container with hidden tabs
...
Fix a bug that occour when there are hidden tabs in tab_container.
The visualization isn't correct due to missing values in tab_widths array.
(cherry picked from commit e7e7aa7d12
)
2021-05-09 17:47:38 +02:00
Gilles Roudière
472f7e9756
Adds a pressed signal to ButtonGroup
...
(cherry picked from commit 323f176915
)
2021-05-09 17:47:37 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Koala
d08666f999
Fix indent left line selection
...
(cherry picked from commit 2c64008718
)
2021-05-04 12:47:36 +02:00
Rémi Verschelde
0c14d10522
Merge pull request #48296 from akien-mga/3.x-cherrypicks
2021-04-29 13:48:49 +02:00
Rémi Verschelde
606073db06
Merge pull request #47173 from LightningAA/graphedit-zoom-cherrypicks
2021-04-29 13:33:17 +02:00
Rémi Verschelde
d252ef4c5e
Merge pull request #46527 from kuruk-mm/3_2_lineedit
2021-04-29 13:32:33 +02:00
floppyhammer
4628ab2a15
ImproveCompletionPanelPositionInShaderEditor
...
(cherry picked from commit e927a9fef0
)
2021-04-29 11:35:52 +02:00
Rafał Mikrut
06976c3e84
[3.x] Fix crashes when using _input functions
2021-04-27 16:51:29 +02:00
Lightning_A
827f6739a2
Initialize some graphedit values in the header
2021-04-26 09:22:28 -06:00
Tomasz Chabora
44e84c61a6
Add disabled theme icons for CheckBox
...
(cherry picked from commit 3a40c268a6
)
2021-04-26 13:15:28 +02:00
Johannes
a3c67dd3fc
Fix removal of `rect_min_size` not triggering resize
...
fixes #46672
(cherry picked from commit c8868fcaab
)
2021-04-26 13:07:59 +02:00
ray90514
ea8004052d
Fix LineEdit undo behaves strangely
...
(cherry picked from commit 7501c7f48a
)
2021-04-26 12:20:28 +02:00
Lightning_A
77cf07c013
Make scrollwheel zoom based on mouse position, cherry-picked for 3.x
2021-04-06 09:36:15 -06:00
bruvzg
d844e72157
RichTextLabel: On custom effect change, parse bbcode only if it's enabled and not empty.
...
(cherry picked from commit 9f73abfa9f
)
2021-04-05 12:01:51 +02:00
Kevin Smith
c081596a55
Make ColorPicker button text and tooltips appear in exported projects
...
(cherry picked from commit a7d12920f2
)
2021-04-05 11:58:03 +02:00
volzhs
b4d88cfe20
Fix typo 'previus_selected'
...
(cherry picked from commit 990c88f24c
)
2021-03-29 14:23:43 +02:00
volzhs
3ee4efe1eb
Fix drawing boxselection on GraphEdit
...
(cherry picked from commit 1bdc14acea
)
2021-03-29 14:23:08 +02:00
lupoDharkael
3b0cf34299
Control: Expose pass_on_modal_close_click
2021-03-25 18:29:41 +01:00
jmb462
6c950977a5
Prevent resizing minimap bigger than GraphEdit ( Fix #47189 )
...
Minimap size couldn't be resized back after been resized bigger than GraphEdit cause the grabber was out of GraphEdit.
This commit prevents resizing minimap bigger than GraphEdit and fix this issue.
(cherry picked from commit 045f55ec00
)
2021-03-20 23:08:46 +01:00
Lightning_A
72c54c10eb
Enable zooming graph_edit with scrollwheel, cherry-picked for 3.x
2021-03-19 14:18:46 -06:00
Yuri Roubinsky
70cd4c5958
Fix GraphEdit connects when graph is zoomed/unzoomed, cherry-picked for 3.x
2021-03-19 14:12:23 -06:00
Yuri Roubinsky
3ad676cbbe
Fix GraphEdit reconnecting to disconnected port, cherry-picked for 3.x
2021-03-19 14:12:11 -06:00
Yuri Roubinsky
0b7384621e
Prevents incorrect connection attempt on port clicking in GraphEdit, cherry-picked for 3.x
2021-03-19 14:11:54 -06:00
Justin Ho
672fdb7af2
Check for null pointer in get_column_width(0)
...
(cherry picked from commit fa6fd3a2d0
)
2021-03-19 10:51:09 +01:00
jmb462
843eb80039
Fix BBCode tables overlap with bottom text
...
New row height was added only if all the column was full.
(cherry picked from commit 25af026d9e
)
2021-03-19 10:49:36 +01:00
Crystal Melting Dot
0eb0e6128c
Fix TabContainer _get_tab_width
...
Now it translates node name before calculating tab width
(cherry picked from commit 89baf02fb6
)
2021-03-17 21:06:09 +01:00
Kongfa Waroros
7646cbbca6
Check if _edit_set_position and _edit_set_rect was used outside an editor
...
(cherry picked from commit b80406770f
)
2021-03-16 11:11:31 +01:00
Pop0p
d2a577f7f1
trims_whitespaces_when_creating_folder_windows
...
When creating a Windows folder via a Godot's dialog, the extra spaces are not removed which causes problems with Windows. We now remove leading and trailing whitespace when creating a dir.
(cherry picked from commit c8538153b0
)
2021-03-13 22:25:34 +01:00
Rémi Verschelde
eb1698dd2a
Fix Control::_edit_set_state bogus error check
...
My mistake when cherry-picking #46699 with f8ee8b1b73
,
I forgot to amend the cherry-pick to change 'offsets' back to 'margins' for the 3.2
branch.
Fixes #46979 .
2021-03-13 21:10:12 +01:00
sps1112
f8ee8b1b73
Fix Control._edit_set_state crash
...
(cherry picked from commit 05f5a43cad
)
2021-03-12 10:11:54 +01:00
Rémi Verschelde
b7e06930aa
Revert "Fix flicker in control nodes due to pivot offset"
2021-03-11 11:01:48 +01:00
kobewi
749892c9fc
Release mouse when SpinBox leaves scene tree
...
(cherry picked from commit 83f6c6b360
)
2021-03-07 22:51:06 +01:00
kobewi
b82d5688b9
Deselect column only if belongs to deselected item
...
(cherry picked from commit 5cd5722f6a
)
2021-03-04 12:20:35 +01:00
Rémi Verschelde
9ee835ac93
Merge pull request #46409 from asheraryam/fix-scale-pivot-jitter
...
Fix flicker in control nodes due to pivot offset
2021-03-02 16:15:21 +01:00
Yuri Sizov
59dfd084ab
Properly hide GraphEdit's minimap
2021-03-01 18:18:05 +03:00
Mateo Kuruk Miccino
74b3021691
LineEdit: Now double click to select a word, and triple click to select all the content
2021-02-28 17:41:11 -03:00
asheraryam
25f35b2c9f
Fix jitter in control nodes when using pivot-offset and animating scale
...
This is based on suggested fix from this comment
https://github.com/godotengine/godot/issues/36087#issuecomment-771593146 -- basically the old rounding workaround is removed, and rounding is now done locally in the scroll_container instead.
Fixes #28804
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2021-02-28 15:30:48 +03:00
Eric M
3b2c43312c
Fixed issues with slider focus and scroll input
...
(cherry picked from commit 707cf278a5
)
2021-02-26 15:27:42 +01:00
Rémi Verschelde
96d38d9751
Revert "Warn when setting Control size inside ready()"
...
This reverts commit a8105d73c7
.
We need to improve the logic somewhat to make the warning more specific to
actual problematic scenarios. Will likely be cherry-picked again + fixes
for the next release.
Fixes #46376 .
2021-02-25 15:14:32 +01:00
Jummit
0a9190134d
expose edit_selected in Tree
...
(cherry picked from commit 13fb24cb6f
)
2021-02-25 15:14:32 +01:00
kleonc
566ad4fd22
Label::set_lines_skipped Fail if passed a negative value
...
(cherry picked from commit d7bb7cad47
)
2021-02-22 10:16:54 +01:00
Kongfa Waroros
af5fe70623
Keep Hue value when Saturation or Value is zero
...
(cherry picked from commit 27749711b2
)
2021-02-22 10:15:29 +01:00