Commit Graph

568 Commits

Author SHA1 Message Date
Wojtek Figat
54050685d7 Optimize UI code 2025-03-16 23:07:56 +01:00
Wojtek Figat
a4082934b8 Update Editor UI to use empty Pivot after fa68a5f572
#3031
2025-03-16 23:06:08 +01:00
Wojtek Figat
fa68a5f572 Fix UI Controls layout auto-resizing to always use pivot-relative logic
#3031
2025-03-16 22:57:18 +01:00
Wojtek Figat
bc6f4f50cb Fix serialization of ControlReference when used in prefabs
#3262
2025-03-07 18:55:03 +01:00
Wojtek Figat
5ffa3eb837 Fix getting Control from null ControlReference
#3123
2025-03-04 22:12:35 +01:00
Wojtek Figat
520bab7463 Refactor serialziation of ControlReference into a string with ID of actor for simplicity
#3123
2025-03-04 17:14:21 +01:00
Wojtek Figat
35fa63852c Format code and simplify IControlReference a little bit
#3123
2025-03-04 16:06:48 +01:00
Wojtek Figat
fee54f0f39 Merge branch 'control-reference' of https://github.com/Tryibion/FlaxEngine into Tryibion-control-reference 2025-03-04 14:03:56 +01:00
xxSeys1
0d5534c445 decrease grid panel fill slider sensitivity 2025-02-24 17:43:32 +01:00
Wojtek Figat
afc4158dd3 Fix sprite and texture 9-slice rendering brush to properly calculate border size 2025-02-24 14:19:51 +01:00
Wojtek Figat
b81b0b7616 Fix text clipping behind the button in Behavior Knowledge Selector editor 2025-02-21 19:34:35 +01:00
Chandler Cox
25b8939aff Update to include presenter context. 2025-02-16 18:05:25 -06:00
Chandler Cox
e4d2e429a0 Merge branch 'master' into control-reference 2025-02-16 17:40:38 -06:00
Wojtek Figat
b6f7914b14 Fix RenderToTextureControl to render correctly when using different texture size than control size
#2760
2025-02-01 15:17:21 +01:00
Wojtek Figat
d829461def Merge branch 'fix_issue_3083' of https://github.com/amir9480/FlaxEngine into amir9480-fix_issue_3083 2025-01-27 11:58:13 +01:00
Amir Alizadeh
ec11a79f55 Add raycast support to the ContainerControl 2025-01-19 23:55:56 +03:30
Chandler Cox
425699c4b0 Clamp control anchors betwen 0 and 1. 2025-01-19 13:51:50 -06:00
Chandler Cox
04fc118ddf Small fixes. 2025-01-04 11:45:08 -06:00
Chandler Cox
f2e4fe300b Change color for readonly text. Fix selection still showing when text box is not focused. 2024-12-31 12:56:43 -06:00
Chandler Cox
c79cd82fd4 Fix code warnings. 2024-12-30 18:59:45 -06:00
Chandler Cox
711fc80d8c Fix comment. 2024-12-30 16:46:42 -06:00
Chandler Cox
e6450bfc7a Add ControlReference for easier UI referencing. 2024-12-30 16:36:10 -06:00
Wojtek Figat
7e2d45012e Fix scroll panel regression from 6f0a2c0288 2024-12-01 11:31:44 +01:00
Wojtek Figat
44d96ad100 Fix curve editor panning to be stable 2024-11-30 23:20:57 +01:00
Wojtek Figat
9b43f2f03a Add zooming in curve editor relative to the mouse cursor and adapt to curve size 2024-11-29 14:33:46 +01:00
Wojtek Figat
6f0a2c0288 Fix curve editor showing whole curve in a view 2024-11-28 18:27:09 +01:00
Wojtek Figat
dc91e55cec Fix scroll bars when using negative content area (eg. curve editor) 2024-11-27 20:22:38 +01:00
Wojtek Figat
36cf859741 Fix game UI root control to properly raycast over 3D canvases 2024-11-19 00:02:16 +01:00
Wojtek Figat
38b662be63 Merge branch 'obfuscate-text-box' of https://github.com/Tryibion/FlaxEngine into Tryibion-obfuscate-text-box 2024-11-18 11:29:19 +01:00
Chandler Cox
65d966fffa Add being able to obfuscate text in a text box with a character. 2024-11-15 09:45:02 -06:00
Paul Adrian
c4c40874e3 added more float literals 2024-10-31 20:32:01 -05:00
Paul Adrian
9f8989b969 Set minimum resolution and resolution curve
- Set minimum resolution to (1,1) and minimum keyframe of the Resolution Curve to (0,0)
- Also added float literals
2024-10-31 20:26:02 -05:00
Chandler Cox
baa4c2c680 Fix tooltip having editor references. 2024-10-22 21:27:16 -05:00
Wojtek Figat
dbb6cecafb Fix warning 2024-10-22 23:37:47 +02:00
Wojtek Figat
3d87c054be Merge branch 'TooltipTextAlignment' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-TooltipTextAlignment 2024-10-22 23:35:24 +02:00
Wojtek Figat
09c0d0d29d Add Alignment option to Vertical and Horizonal Panels
#2599
2024-10-22 22:34:57 +02:00
xxSeys1
b27ccc5f3b condense switch statement 2024-10-17 18:42:39 +02:00
xxSeys1
7558cce609 change back accidentally committed line 2024-10-15 22:07:09 +02:00
xxSeys1
98215252bd add tooltip text alignment editor options 2024-10-15 22:05:16 +02:00
Wojtek Figat
58e1396c15 Fix rich text box snapping to be ignored at text end
#2964
2024-10-04 22:39:10 +02:00
Amir Alizadeh
c8f57ea82b Fix RichTextBox selection bug 2024-10-03 21:46:59 +03:30
Wojtek Figat
001597284a Merge branch 'fix-rich-text-box-border-vars' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-rich-text-box-border-vars 2024-09-29 22:11:36 +02:00
Wojtek Figat
5f19538455 Add UpdateFlags to ISceneRenderingListener::UpdateActor for more contextual control overdirtying actors state in renderer data
Fixes issue of static shadow maps not refreshing when changing static flags of the model.
2024-09-29 22:03:46 +02:00
Chandler Cox
8080c21760 Fix HasBorder and BorderThickness for RichTextBox 2024-09-27 11:31:59 -05:00
Chandler Cox
7b9da3786d Fix carrot position when no text but text alignment 2024-09-23 15:57:21 -05:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
fb4b0b2f75 Add resizing panel based on highest child if ControlChildSize is disabled but AutoSize is enabled
#2599 #2511
2024-09-18 23:37:05 +02:00
Wojtek Figat
a8354720df Add ControlChildSize option to disable autosizing child controls in UI panel
#2511
2024-09-18 23:19:45 +02:00
Wojtek Figat
c9817b25a3 Fix label sizing issues
#2496
2024-09-18 23:06:10 +02:00
Wojtek Figat
e024897b7d Refactor Button to inherit from Label and get all of its functionalities
#2599
2024-09-18 23:05:42 +02:00