Rémi Verschelde
03f275e66f
Merge pull request #49167 from amoriqbal/3.3-inspector-patch
...
Fixed inspector not updating anchor
2021-06-20 12:42:21 +02:00
Marcel Admiraal
7e03bd1671
Remove duplicate WARN_PRINTS macro
2021-06-18 12:57:59 +01:00
kleonc
ce763fe402
TextureButton Update min size on any texture change
...
(cherry picked from commit 6c3c269f24
)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
28aacbfe85
Allow higher and lower maximum zoom values in GraphEdit
...
Low zoom values result in unreadable text, but it can still be
useful for previewing purposes.
Eventually, characters could be replaced by rectangles at very low
zoom levels to improve the visual appearance.
(cherry picked from commit 74c584472c
)
2021-06-17 12:47:54 +02:00
Jason Knight
7510e1c24b
Emit button_up signal after setting pressed to false.
...
(cherry picked from commit 4c6ad8abcd
)
2021-06-17 12:47:53 +02:00
Hugo Locurcio
f36c90b82f
Add a soft line length guideline to the script editor
...
The default value is 80. The hard line length guideline's default column
has been moved to 100 to account for the new soft line length guideline.
It can be disabled by setting its value to the same column as the
hard line length guideline.
2021-06-16 06:00:02 +02:00
Rémi Verschelde
87532d2711
Merge pull request #49606 from azagaya/3.x
...
[3.x] Fix vertical slider `grabber_area` height calculation
2021-06-15 00:12:23 +02:00
azagaya
3b84c32b52
Fix vertical slider grabber_area height calculation
2021-06-14 15:46:09 -03:00
Rémi Verschelde
e6a6293146
Merge pull request #49487 from pycbouh/theme-utility-methods-3.x
2021-06-11 13:40:21 +02:00
Marcel Admiraal
88b8f28acc
Move default values from definition to declaration in GraphEdit
2021-06-10 17:17:18 +01:00
Yuri Sizov
fddd09de17
Fix typo in Control's theme icon look-up method
...
Backported from #47544 where it was originally identified
2021-06-10 16:44:24 +03:00
Rémi Verschelde
d84d5a9665
Merge pull request #49332 from megalobyte/doc-prev-search
...
[3.x] Fix previous search for built-in-docs
2021-06-09 11:11:15 +02:00
Rémi Verschelde
0d68db1b85
Merge pull request #49280 from timothyqiu/rtl-break
...
[3.x] Fix RichTextLabel auto-wrapping on CJK texts
2021-06-09 10:53:11 +02:00
megalobyte
7408b33895
Fix previous search for built-in-docs
2021-06-08 23:11:42 -07:00
Hugo Locurcio
2e6a4aea99
Allow more items in automatic width calculation for TextEdit completion
...
Calculating the width for 100 items takes a millisecond in
a debug build on an i7-6700K. It's likely that the editor can remain
smooth even with 1,000 items, especially in a release build.
2021-06-08 16:21:39 +02:00
Haoyu Qiu
3a591aaeeb
Fix RichTextLabel auto-wrapping on CJK
2021-06-08 21:04:20 +08:00
Rémi Verschelde
80e1585a6e
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
(cherry picked from commit c1c76850cb
)
2021-06-07 12:06:59 +02:00
Rémi Verschelde
4fe8941f8c
Merge pull request #48957 from phil-shenk/iss48936-control_set_scale
...
added _change_notify in Control::set_scale to fix iss48936
2021-06-01 23:00:44 +02:00
Rémi Verschelde
e0fb05ad30
Merge pull request #49237 from akien-mga/3.x-cherrypicks
2021-06-01 13:35:56 +02:00
Rémi Verschelde
fb294606b5
Merge pull request #48771 from LightningAA/scrollcontainer-ensure-item-visible-3.x
...
[3.x] ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-06-01 12:58:56 +02:00
Leonardo Christino
21eea9cd6c
Make GraphNode handle children with EXPAND flag
...
(cherry picked from commit 5d574d980d
)
2021-06-01 12:52:18 +02:00
PouleyKetchoupp
87ed7d32de
Added flip_h and flip_v properties in TextureButton
...
(cherry picked from commit 5f1d94bb7d
)
2021-06-01 12:52:14 +02:00
Lightning_A
6f58e6ce2c
ScrollContainer: Expose `_ensure_focused_visible` to the API
...
Was renamed to `ensure_control_visible`
2021-05-31 19:05:30 -10:00
Lynx
1b7c2a1428
Fix not updating fonts when parent theme changes
...
Reparsing the bbcode content when we receieve a theme changed
notification just like we already do in ENTER_TREE.
Resolves #49089
2021-05-28 20:44:00 +02:00
amor
dacc726faf
Fixed inspector not updating anchor
2021-05-28 18:20:13 +05:30
Hugo Locurcio
a38b447413
Highlight control flow keywords with a different color
...
This makes them easier to distinguish from other keywords.
2021-05-25 00:31:39 +02:00
phil-shenk
04729d9c65
added _change_notify in Control::set_scale to fix iss48936
2021-05-22 01:12:53 -04:00
Hugo Locurcio
333dfb96da
Scroll faster when holding Alt in TextEdit (and script editor)
...
This feature is inspired by a similar feature found in
Visual Studio Code.
(cherry picked from commit cf1cf6c6eb
)
2021-05-18 11:58:09 +02:00
Haoyu Qiu
1866a605e1
Fix Tree::get_column_at_position crash
...
(cherry picked from commit c8efcf81d2
)
2021-05-17 13:07:39 +02:00
Eoin O'Neill
0e7c2ea331
Attempt to fix rich text label effects processing even when
...
the node is invisible.
ISSUE:47687
(cherry picked from commit c4f976b38b
)
2021-05-14 10:17:17 +02:00
Hugo Locurcio
d990035ebb
Implement reverting to the old color when clicking it in ColorPicker
2021-05-10 22:43:04 +02:00
Hugo Locurcio
6d03fe5194
Display the old color in ColorPicker for easier comparison
...
This only affects ColorPickerButton nodes that spawn a ColorPicker,
not standalone ColorPickers.
2021-05-10 17:36:03 +02:00
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