Commit Graph

552 Commits

Author SHA1 Message Date
Chandler Cox
18660140b0 Add controls to the ActorToolbox in the GUI tab. Add dragging and dropping controls from toolbox into scene and prefab trees. 2024-04-27 15:55:25 -05:00
Chandler Cox
d8bb831dd9 Add watermark attribute to add watermark to string fields in editor. Have watermark show even when textbox is focused . 2024-04-27 11:07:20 -05:00
Chandler Cox
3641886ebf Fix textbox caret showing on empty string. 2024-04-27 09:16:03 -05:00
Wojtek Figat
e5d700692f Merge branch 'underline-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-underline-fix 2024-04-12 13:01:10 +02:00
Chandler Cox
2e643347ec Fix selection height 2024-04-11 10:16:20 -05:00
Chandler Cox
fb1685fe81 Fix underline being in wrong spot on different DPIs 2024-04-11 09:56:59 -05:00
Wojtek Figat
294b4c4006 Add CPU profiler events for UI drawing 2024-03-30 22:20:41 +01:00
Wojtek Figat
1f35f9536d Merge branch 'text-stuff' of https://github.com/Tryibion/FlaxEngine into Tryibion-text-stuff 2024-03-24 20:24:29 +01:00
Wojtek Figat
9a27ba3cdc Merge branch 'fix-splitters' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-splitters 2024-03-24 20:18:15 +01:00
Wojtek Figat
b821bb7a54 Simplify code 2024-03-24 20:17:42 +01:00
Chandler Cox
e5e675f089 Fix splitters not working. 2024-03-23 17:46:46 -05:00
Chandler Cox
495de38c48 Make TargetViewOffset only go to bottom of text. Add Scroll to Carrot for new lines. 2024-03-22 12:09:41 -05:00
Chandler Cox
4b9f50add0 Fix carrot and selection height based on dpi scale to correctly scale with interface options. 2024-03-21 21:23:05 -05:00
Chandler Cox
8398b35b0d Add visibility check to begin play on uicontrol 2024-03-20 12:22:01 -05:00
Wojtek Figat
2b824ce22a Fix UI Canvas double scale apply 2024-03-18 21:50:08 +01:00
Wojtek Figat
3b502086f8 Fix UI coordinate convertion in CanvasScaler 2024-03-18 17:38:05 +01:00
Wojtek Figat
c60244878d Add **UI Control gizmo for editing UIs** 2024-03-16 22:00:40 +01:00
Wojtek Figat
3ba6867cd2 Minor fixes 2024-03-14 17:30:54 +01:00
Wojtek Figat
0a9f746abb Refactor UI Control actor active state mirroring in UI via Visible properties rather than unlinked from parent
#2242 #851
2024-03-11 19:10:13 +01:00
Wojtek Figat
1bbb2727b8 Further improve 4a5ded0849 to use cached json serializer for UI 2024-03-11 12:47:29 +01:00
Wojtek Figat
4a5ded0849 Reuse various serialization code 2024-03-10 23:28:16 +01:00
Wojtek Figat
584c073df1 Reuse various serialization code 2024-03-08 14:26:48 +01:00
Wojtek Figat
8de2249ed8 Refactor Editor UI style for selection and drag drop interactions
#1741
2024-03-07 16:45:09 +01:00
Wojtek Figat
01daa2d66a Merge branch 'input-settings-changes' of https://github.com/Menotdan/FlaxEngine into Menotdan-input-settings-changes
# Conflicts:
#	Source/Editor/Modules/UIModule.cs
2024-03-04 18:33:16 +01:00
Chandler Cox
23d1b3746d Remove ui postfx render task on canvas disable. 2024-03-01 11:10:07 -06:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
f1fe83ca81 Add RayCast utility to UI controls
#1952
2024-02-26 16:22:56 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
2de890ca6a Codecleanup for #1482 2024-02-19 17:33:21 +01:00
Wojtek Figat
a2b8312fba Cleanup stuff in #2019 2024-02-18 19:48:43 +01:00
Wojtek Figat
45aa0e1b65 Merge branch 'master' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-master 2024-02-18 16:11:31 +01:00
Wojtek Figat
e165c87e5a Format code #1871 2024-02-18 00:03:54 +01:00
Wojtek Figat
7a21c37603 Merge branch 'directional-slider' of https://github.com/Tryibion/FlaxEngine into Tryibion-directional-slider 2024-02-17 23:50:50 +01:00
Wojtek Figat
0776529a57 Merge branch 'fix-scrollbar-show' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-scrollbar-show 2024-02-06 12:13:41 +01:00
Chandler Cox
503bcdcf27 Change visibility instead of enable on scroll bars. 2024-01-12 19:57:00 -06:00
Chandler Cox
82c8e39dfd Fix AlwaysShowScrollbars to update enabled state of the scroll bars. #2165 2024-01-12 17:23:10 -06:00
Chandler Cox
76cf935583 Fix Dropdown panel scale correctly. 2024-01-10 22:00:20 -06:00
ExMatics HydrogenC
4497b2ca7d Add fallback settings for control 2023-12-19 12:36:12 +08:00
ExMatics HydrogenC
ac090d690e Merge remote-tracking branch 'upstream/master' 2023-12-19 12:33:13 +08:00
Wojtek Figat
e448692eb9 Fix crash in UI prefab changes apply when reparenting controls
#2082
2023-12-17 12:41:51 +01:00
Menotdan
52d4dff587 Fix build regression involving TextBoxBase being used in both game builds and editor builds. 2023-12-08 22:11:54 -05:00
Menotdan
13cc45c3d7 Add the option to deselect all whereve there is a select all, Refactor much of the codebase to use keybinds from InputOptions. 2023-12-08 20:16:07 -05:00
Chandler Cox
b8ce9e8c59 Scale up drop down items with text height as needed. 2023-12-08 17:01:48 -06:00
Wojtek Figat
228239632a Fix tooltip location check when wraps over the screen
#2016
2023-12-07 11:43:50 +01:00
ExMatics HydrogenC
6ab1663a14 Add missing xml annotations 2023-12-03 15:18:27 +08:00
ExMatics HydrogenC
23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
Chandler Cox
f67c0d2ac0 Change ScaleWithResolution defaults 2023-12-02 09:23:43 -06:00
ExMatics HydrogenC
95f5e31e48 Fix textbox height
Fix build error under non-windows platforms
2023-12-01 19:38:15 +08:00
ExMatics HydrogenC
3d139a241a Fix C# editor 2023-12-01 09:28:29 +08:00
ExMatics HydrogenC
623f478b44 Move fallback rendering to new class 2023-11-30 23:22:11 +08:00