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
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
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
Tomasz Chabora
a8105d73c7
Warn when setting Control size inside ready()
...
(cherry picked from commit 84da090a69
)
2021-02-22 10:15:00 +01:00
Kongfa Waroros
5ec1eee6b1
Avoid function signals in ColorPicker to access the tree when it isn't in the tree
2021-02-18 16:57:47 +07:00
kobewi
6440b7fcae
Select TreeItem if none is selected
...
(cherry picked from commit 282639d653
)
2021-02-16 14:27:40 +01:00
kleonc
e40682c32d
RichTextLabel::add_image Fail if passed image has no area
...
(cherry picked from commit a4afdd4a77
)
2021-02-16 14:27:39 +01:00
PouleyKetchoupp
ac9e5d9c60
Fix TextEdit autoscroll with wrapped lines
...
Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll.
(cherry picked from commit 121030940c
)
2021-02-16 14:27:38 +01:00
PouleyKetchoupp
018008ce81
TextEdit respects content margin from StyleBox
...
Backport from PR #45858 on master.
2021-02-15 10:47:38 -07:00
Kongfa Waroros
adb93d7120
Update GraphEdit when GraphNode's slot is updated
...
(cherry picked from commit fe6c8d48e6
)
2021-02-11 13:14:33 +01:00
Filip
9c4f16f4c1
Fixed completion box not showing properly [3.2]
2021-02-10 20:40:00 +01:00
Rémi Verschelde
daa0fe101e
Merge pull request #45813 from RandomShaper/keep_selected_visible_3.2
...
Keep selected node visible after filter change (3.2)
2021-02-09 10:43:37 +01:00
kobewi
2863c6117e
Set selected Tree item to null when deselected
...
Co-authored-by: Brody Eller <wviper3@gmail.com>
(cherry picked from commit ef8ec59f2f
)
2021-02-08 22:36:37 +01:00
Kanabenki
dad0d4a8ee
Update ColorPicker controls when entering tree
...
(cherry picked from commit 03d4ebf129
)
2021-02-08 22:36:37 +01:00
Oliver Dick
db57f32194
TextEdit: When left mouse is pressed to place the cursor, do not immediately adjust the viewport when cursor_set_line is called, but afterwards on cursor_set_column (effectively when the cursor reached its final position)
...
Fixes #45770
(cherry picked from commit 8d598693fc
)
2021-02-08 22:36:36 +01:00
Pedro J. Estébanez
e1054a17b5
Expose Tree::scroll_to_item()
2021-02-08 02:19:23 +01:00
Volka
c6824ec09d
Fix unintended SpinBox mouse capture
...
(cherry picked from commit ae2cf8eb38
)
2021-02-02 13:02:42 +01:00
Rémi Verschelde
0b6dd929c6
Merge pull request #45169 from fmazan/3.2-completion-panel-positioning
...
[3.2] Fixed completion and hint panel positioning in TextExit
2021-02-01 20:50:38 +01:00
HaSa1002
4ff0df702d
Expose bookmark, breakpoint, and mark safe functions in TextEdit
2021-01-27 22:41:07 +01:00
kobewi
a7a490e650
Fix popup_centered() for scaled popups
2021-01-27 18:12:09 +01:00
kobewi
7ede2f36fe
Allow to override drop data in LineEdit
...
(cherry picked from commit a3a31591b5
)
2021-01-26 17:24:55 +01:00
Hugo Locurcio
76bd7d796b
Make Range return 1.0 ratio if minimum and maximum values are equal
...
An error message is also no longer printed.
This matches the behavior found in most UI frameworks where having
equal minimum and maximum values is considered acceptable.
This closes #43179 .
(cherry picked from commit 44204ec32d
)
2021-01-26 17:00:17 +01:00
Nils Reid
349f25429b
Exposed find_next_valid_focus and find_prev_valid_focus.
...
(cherry picked from commit 3e94c23fa5
)
2021-01-26 17:00:16 +01:00
Rémi Verschelde
07be68e904
Merge pull request #45370 from naithar/fix/line_edit_clear
...
[3.2] [GUI] Fix LineEdit clearing
2021-01-26 12:30:58 +01:00
Sergey Minakov
7b8d6d2413
[GUI] Enforce virtual keyboard redisplay on clear
2021-01-26 13:18:14 +03:00
Yuri Sizov
a9552cefa2
Fix minimap capturing events and improve its theme
...
Add an editor setting for minimap opacity in visual editors
2021-01-25 21:49:34 +03:00
Alexander Pech
d73281a350
Keep RichTextLabel visible character properties in sync
...
The RichTextLabel class is inconsistent in how it updates the
visible_characters and percent_visible properties when either is changed.
To keep both properties consistent, update percent_visible when setting the
visible_characters property.
For both properties, when setting one, notify change for the other.
Docs updated for member set_visible_characters on RichTextLabel class.
(cherry picked from commit 463e2002ab
)
2021-01-15 16:49:46 +01:00
Rémi Verschelde
258f41c024
Merge pull request #45150 from pycbouh/ge-disconnect-crash-3.2
...
[3.2] Prevent signal disconnection attempts on invalid references
2021-01-15 12:49:17 +01:00
Yuri Sizov
6b13c8482a
Prevent signal disconnection attempts on invalid references
2021-01-14 15:21:12 +03:00
Filip
f1d00522f5
Fixed completion and hint panel positioning in TextExit [3.2]
2021-01-13 21:44:05 +01:00
Rémi Verschelde
b9c5e2f9eb
doc: Sync classref with current source
...
And fix copyright headers in new code.
2021-01-13 16:55:27 +01:00
Rafał Mikrut
8f19d50e27
Fix errors when removing non Control node from TabContainer
...
(cherry picked from commit 56734f44e5
)
2021-01-13 16:17:10 +01:00