Haoyu Qiu
54f6334f40
Fix PopupMenu
margin and separation calculations
2024-11-13 23:27:35 +01:00
Haoyu Qiu
0cee401740
Fix button click detection when Tree
is rotated
2024-11-13 23:22:11 +01:00
Rémi Verschelde
bcd989020e
PopupMenu: Update margins on visibility change
...
Fixes #96149 .
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2024-09-07 09:25:05 +02:00
Ricardo Subtil
39cae06fbf
Fix PopupMenu
size calculations not taking into account control/canvas scale
2024-07-20 20:50:34 +02:00
Haoyu Qiu
b43f5d220a
Add range hint for ViewportContainer.stretch_shrink
2024-07-14 08:26:25 +02:00
kleonc
e5ec234b16
Fix AtlasTexture::draw_rect flipping for non-zero margin
2024-07-14 07:52:01 +02:00
Haoyu Qiu
144e69dc2c
Fix TabContainer not updating content rect after toggling tab icon
2024-07-14 07:50:36 +02:00
105115dbb3
Removed clips_input() method and _clips_input() virtual method from Control. Made clip_contents to also have an input clipping effect, since I couldn't think any single instance where keeping them separated would be useful.
...
This fixes LayeredTileMap's editors clipping input while being invisible, and likely other smaller issues.
2024-03-12 17:29:22 +01:00
b11bd949cc
Backported from Godot4: Allow disabling scrolling in Tree.
...
- groud
b2dddc3c82
2024-03-11 13:46:53 +01:00
be0b5b5bdc
Backported from Godot4: Implement Tabs minimum size.
...
- groud
898a2a7cf3
2024-03-07 21:57:49 +01:00
2b85fcdbb5
Backported ViewPanner from Godot4. It also got bindings, now inherited from Resource, and is registered in the ClassDB.
2024-03-01 22:39:19 +01:00
cf7b59b6c8
Fix small formatting inconsistencies.
2024-03-01 16:25:19 +01:00
6a6d3acd96
Clang format everything.
2024-03-01 11:56:19 +01:00
ae7409bf52
Ported: Fix signed distance field font rendering
...
This fix works in both GLES3 and GLES2.
The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.
- lawnjelly and Calinou
bc607fb607
2024-02-08 19:11:34 +01:00
kobewi
1a98244aac
Preserve selection when focusing SpinBox
2024-02-08 14:44:21 +01:00
1d8e1f7065
Fixed TextEdit width calculation after it's font changes. This fixes lines being too long to scroll to in the editor.
2024-01-12 12:43:39 +01:00
8d67178204
Backported from godot4: Fix TextEdit.get_rect_at_line_column returning negative pos even though cursor is in viewable area of the control
...
- MJacred
6170381bd7
2024-01-12 12:24:09 +01:00
a38d3e5d61
Fix typo.
2024-01-12 12:18:05 +01:00
Jakub Marcowski
f45f3bbc73
Remove the separator from ItemList
's thumbnail mode
2023-12-20 22:36:05 +01:00
98912a89e8
File copyright header updates pt9.
2023-12-18 00:25:33 +01:00
88e9ad04f2
Moved back the servers and resources from core.
2023-12-10 23:11:07 +01:00
63c895747a
Moved Curve and Gradient to core.
2023-12-10 20:23:51 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
049440aaf1
Moved BitMap to core.
2023-12-10 18:07:25 +01:00
3902cf1924
Moved ScneeStringNames and PropertyUtils into scene/main.
2023-12-10 18:01:51 +01:00
9df5649c1b
Moved CanvasItem, Control, Node2D and Spatial under scene/main.
2023-12-10 15:50:54 +01:00
11b8f50a82
Moved SyntaxHighlighter.
2023-12-10 13:44:52 +01:00
edb250930d
Small improvement to the CSplitCointainer.
2023-10-20 16:56:18 +02:00
2e7709185a
Added a new CSplitContainer type which acts as both a VSplitContainer and HSplitContainer and allows changing between them using a property.
2023-10-20 15:06:23 +02:00
e6ee1f0c0f
Added a new CBoxContainer type which acts as both a VBoxContainer and HBoxContainer and allows changing between them using a property.
2023-10-20 13:44:43 +02:00
Haoyu Qiu
e3dd88e9ec
Fix PopupMenu icon and text not having separation
2023-10-02 16:56:58 +02:00
MJacred
519d0647fd
Fix cursor after last character in line counting as a character outside of the viewing area
...
The cursor column can be after the last_visible_char index and still be visible.
2023-10-02 16:40:26 +02:00
A Thousand Ships
3f6fdafd41
Make TextureButton
and Button
update on texture change
2023-10-02 16:32:02 +02:00
36f9e5186b
Removed the prefix from the Input property group in Control.
2023-09-09 09:22:04 +02:00
a7cf92860a
Fixed the editor's code editor handling some shortcut events twice.
2023-09-09 02:21:35 +02:00
e3998417e7
Fix shortcut input handling in BaseButton.
2023-09-07 14:11:17 +02:00
ccb6074ca9
Backported the editor constrol changes for the new shortcut system from godot4.
2023-09-07 13:41:05 +02:00
4637f73099
Backported the shortcut context system from godot4.
2023-09-07 12:57:34 +02:00
9a2bf73280
Backported _shortcut_input() virtual from godot4.
2023-09-07 09:56:16 +02:00
da0caaad15
Set input as handled when processing shortcuts in BaseButton.
...
This fixes the issue when the script editor tab is active and the scene tree editor is focused, a ctrl+a press both opens the new Node popup and selects all text in the script editor.
Doesn't seem to have negative side effects so far.
2023-09-06 15:11:33 +02:00
deb5c49700
Backported the new output window from godot4.
2023-09-06 13:08:24 +02:00
Paweł
14c218d23a
Fix scrolling behaviour with low page value
...
(cherry picked from commit 1608bea18809dcb4e744ee936f8de8f5660adfbe)
2023-08-30 10:48:48 +02:00
d977ed360e
Ported: 2D Fixed Timestep Interpolation
...
Adds support to canvas items and Camera2D.
- lawnjelly
5162efbfe9
2023-08-27 18:48:25 +02:00
lawnjelly
ca171817a8
MultiRect - Fix flushing in TextEdit
...
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-08-27 11:45:09 +02:00
834cbe8cef
Ported: Single Compilation Unit build.
...
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
- lawnjelly
43e181a00a
2023-07-11 16:07:36 +02:00
Patrick
78bc0eeb97
Backport VideoLooping and fix for initial black frame
2023-06-28 12:22:49 +02:00
Ricardo Subtil
3191832c37
Fix PopupMenu's maximum height not being automatically set
2023-06-11 09:22:06 +02:00
kobewi
147640412a
Cache text property when toggling BBCode
2023-06-11 09:21:25 +02:00
ShadyChibinko
38bb088c1e
Add Tab Metadata
2023-06-11 09:19:03 +02:00
needleful
cfabdb87f0
Add allow_search property to ItemList and Tree
2023-06-11 09:12:26 +02:00