Commit Graph

63 Commits

Author SHA1 Message Date
kobewi
8e9782ac76 Fix find_next_valid_focus() freeze
(cherry picked from commit d9ede52ded9eb7ef6ccb7c704f1d9ccbe7f23861)
2022-07-29 16:31:09 +02:00
648b9fce40 Ported: Add an option to drag'n'drop selected text in TextEdit - ConteZero
a13b3028a2
2022-07-29 16:29:53 +02:00
152f9728b0 Ported: [Windows, 3.x] Add support for handling network share paths. - bruvzg
11a7997a67
2022-07-28 19:33:43 +02:00
kobewi
69976cd190 Disable scroll when dragging at edges of TextEdit 2022-07-28 19:23:36 +02:00
bruvzg
9dbb96dc1d Improve RTL table fill. 2022-07-28 19:21:13 +02:00
43131ad4cb Ported: Add readable export errors. Add RTL image vertical alignment support. - bruvzg
f5fa1ca944
2022-07-28 18:40:46 +02:00
Michael Alexsander
b03af6e40e Take into account the clear icon's size even when not visible in LineEdits 2022-07-28 13:43:20 +02:00
Michael Alexsander
9ffe4a2e51 Fix specific bug related to submenus in PopupMenu 2022-07-28 13:42:58 +02:00
Michael Alexsander
2ebc4905fc Fix hover being drawn twice inside PopupMenus 2022-07-28 13:42:35 +02:00
Haoyu Qiu
2d6183beb7 Fix LineEdit clear button for asymmetric stylebox 2022-07-28 11:36:32 +02:00
kleonc
0c4799c45a Allow changing exclusive of already popped up Popup 2022-07-28 11:35:45 +02:00
kleonc
3dbf7c3d52 PopupMenu Fix hover stylebox overflowing horizontally 2022-07-28 11:34:22 +02:00
Aaron Record
54b02c41e6 Allow ScrollBar params of a ScrollContainer to be modified from _ready()
Cherrypicks b8610dbd3159985f007deb0424a64df386832d07
2022-07-28 10:18:48 +02:00
7fd0b29642 Ported: Backport Label3D node implementation and Sprite*3D material render priority. - bruvzg
dc6d8d6098
2022-07-27 23:40:35 +02:00
Haoyu Qiu
49b6f63f5f Update last min size when Control becomes visible
(cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd)
2022-07-27 23:11:43 +02:00
c3bb14f49e Ported: add check for selection when try to push a meta.
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
- danielkariv
47ead8504a
2022-07-27 23:10:55 +02:00
53f8707713 Ported: Add node list param to GraphEdit::delete_nodes_request signal - Chaosus
32b9818965
2022-07-27 20:01:38 +02:00
Sergey Pershenkov
c819fe68dd Return -1 from get_selected_id() when not selected
Partial cherry pick from 3b146c5eaa06d9f6827c651802b9fb2a9a1e013d
2022-07-27 19:49:47 +02:00
Rémi Verschelde
e81d1f010a Revert invalid PopupMenu breaking change from #61102
Fixes #61179.
2022-07-27 19:49:17 +02:00
52183f16da Ported: Make various improvements to OptionButton
- Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor.
- Reset OptionButton selection to -1 when the selected item has been removed.
- Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
- okla
431c032d8c
2022-07-27 19:26:59 +02:00
Markus Sauermann
ee4f41951e Distribute remaining pixel to expanding childs of GridContainer
(cherry picked from commit 6b3207644b8d2338a9a55f8cfeb0ec65f1cea207)
2022-07-27 19:12:28 +02:00
Hendrik Brucker
3585f416d4 Fix button icon expansion calculation with empty text
(cherry picked from commit c09a5e277410761733a59a2b207d7320131b2511)
2022-07-27 18:42:10 +02:00
FireForge
71d20ea670 Add interpolation modes to Gradient - Linear, Constant, and Cubic interpolation modes - Partial backport of #53321 2022-07-27 18:12:14 +02:00
Haoyu Qiu
390735e803 Fix tree button icon not centered vertically 2022-07-27 15:21:35 +02:00
Michael Alexsander
9af14c8d90 Add font_separator to PopupMenu 2022-07-27 15:21:19 +02:00
Michael Alexsander
1e2c8637c2 Fix separator height influencing labeled variation in PopupMenu 2022-07-27 15:17:29 +02:00
bruvzg
814f76bf6b Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-07-27 13:08:20 +02:00
Haoyu Qiu
7190c806ec Fix Label autowrap for CJK text 2022-07-26 15:03:08 +02:00
Hugo Locurcio
4951e23481 Add a property hint for AspectRatioContainer's ratio property
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.

The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-07-26 15:02:39 +02:00
Michael Alexsander
691b99f40c Draw relationship lines for items offscreen 2022-07-26 15:02:12 +02:00
Michael Alexsander
21d66d3a68 Fix GridContainer not ignoring toplevel children
(cherry picked from commit 506d8ba526188bb683eeb4e4389c8bd4a18abab8)
2022-07-26 14:59:18 +02:00
58b8271bf4 Ported: Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
- ZheisterCoding
c0513268bd
2022-07-26 12:56:16 +02:00
Haoyu Qiu
56fed34913 Fix undo history for function name autocompletion 2022-07-26 12:46:13 +02:00
Eric McGuirk
55ed3e573e Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
2022-07-26 12:37:32 +02:00
kobewi
0da6b17950 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac9bf342e45e6b6332b5efa13af9fa26)
2022-07-26 12:37:15 +02:00
Haoyu Qiu
2aefcf5585 Consider chained operation when selecting text in TextEdit::undo()
(cherry picked from commit 8cefbfcf432ef6ed3879ee60bf500b52149f3e01)
2022-07-26 12:35:47 +02:00
8275f6b161 Ported: Add missing argument names in bindings - akien-mga
21c3048397
2022-07-25 23:51:34 +02:00
220b7e99be Ported: [3.x] Add deselect() to RichTextLabel - ConteZero
5e714051ea
2022-07-25 22:01:26 +02:00
d1ddbecc54 Ported: [3.x] Expose get_selected_text in RichTextLabel - ConteZero
820728aa52
2022-07-25 21:53:36 +02:00
a43091d427 Ported: Add drag and drop to TextEdit, LineEdit, RichTextLabel - ConteZero
4167e98088
2022-07-25 20:32:14 +02:00
c8adff0f99 Ported:
Fix Right-Click clearing selection - ConteZero
57b616fb21
2022-07-25 19:55:26 +02:00
d85caf2c71 Ported:
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
Yuri Roubinsky
54b534c4a4 Add selection getter methods to LineEdit
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-07-25 18:22:15 +02:00
Markus Sauermann
e1a8b0befe Fix event transform in ViewportContainer 2022-07-25 18:13:25 +02:00
Haoyu Qiu
9e0a1c88a0 Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-07-25 18:12:28 +02:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
a89fa56bea Backported: - Fix children visibility check (cherry picked from commit 280956d) - taigi100 - b33eed23ae 2022-03-20 19:12:43 +01:00
d7f455f36f Backported: - Add item tooltip access to OptionButton - timothyqiu - d537a88299 2022-03-20 19:07:53 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00