Commit Graph

97 Commits

Author SHA1 Message Date
Wojtek Figat
7e622a69a6 Fix AutoFocus saved in data for controls 2021-04-07 20:53:18 +02:00
Wojtek Figat
6001eb88fa Fix Dropdown control
#334
2021-04-07 20:52:22 +02:00
stefnotch
12fd7274a9 Fix DPI regression: use the overrideable RootWindow instead of _root 2021-03-29 10:54:48 +02:00
Wojtek Figat
9f79d0e3c4 Add support for vertical and horizontal panels to arrange children based on the child anchor
#385
2021-03-25 21:45:29 +01:00
Wojtek Figat
d3bdc3cf8b Fix UI not being updated with particular panels used when changing child control anchors
#385
2021-03-25 21:27:42 +01:00
Wojtek Figat
5c495b987b Add Shift+Home shortcut to Text Boxes
#386
2021-03-25 21:14:37 +01:00
Wojtek Figat
934258aadb Fix UICanvas to face camera plane instead of camera position
#371
2021-03-23 10:25:31 +01:00
Wojtek Figat
16f81cc184 Fix updating Label layout after font change when using automatic size
#380
2021-03-23 09:32:12 +01:00
Wojtek Figat
e8c9856665 Fix Vertical/Horizontal panels issue with anchored child controls
#378
2021-03-23 09:24:56 +01:00
Wojtek Figat
22812ad21e Fix game build 2021-03-21 15:34:15 +01:00
Wojtek Figat
160dfa5dc7 Fix Label text alignment in auto size text
#308
2021-03-20 18:49:31 +01:00
Wojtek Figat
7dd67b5ae3 Fix Label auto-height and auto-width when text overflows the lines and it's wrapped
#358
2021-03-20 13:06:35 +01:00
Wojtek Figat
59b975499f Fix WorldSpaceFaceCamera bug
#370
2021-03-20 12:15:50 +01:00
Wojtek Figat
29e06eb696 Add WorldSpaceFaceCamera mode to UICanvas
#359
2021-03-19 15:46:33 +01:00
Wojtek Figat
f1b100841d Merge branch 'canvasculling' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-canvasculling 2021-03-19 10:15:42 +01:00
Wojtek Figat
8ef8b89fd5 Add constructor to BoundingBox for single point empty box construction 2021-03-18 21:50:05 +01:00
Jean-Baptiste Perrier
e0ae2984ae UICanvas frustum culling. 2021-03-18 18:59:32 +01:00
Wojtek Figat
ac511cbadc Improve documentation comments for Control properties that are based on Pivot property 2021-03-18 16:34:54 +01:00
Wojtek Figat
7a12a6c280 Fix updating UICanvas when using World/Camera Space
#361
2021-03-18 15:59:01 +01:00
Wojtek Figat
abe635ad9b Fix exception in Custom Editors UI due to invalid reference value processing
#325
2021-03-18 15:12:25 +01:00
Wojtek Figat
960a122550 Revert children clipping to be called outside DrawChildren (regression from #355) 2021-03-18 14:26:00 +01:00
Wojtek Figat
5c171c8b58 Fix control Offsets updating for control bounds when changing anchors
#312
2021-03-18 13:16:17 +01:00
Wojtek Figat
6a6eb96793 Fix code style 2021-03-18 11:15:27 +01:00
Wojtek Figat
8078b9543d Merge branch 'ui' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-ui 2021-03-18 11:09:28 +01:00
Wojtek Figat
845da14e6a Fix UIControl setup on IsActive changes
#326
2021-03-18 10:56:48 +01:00
Jean-Baptiste Perrier
c8b57d417c Convert Control to ContainerControl. 2021-03-17 20:53:42 +01:00
Jean-Baptiste Perrier
fb70368c8d Fix image ordering. 2021-03-17 20:22:27 +01:00
Jean-Baptiste Perrier
5af3a22fd0 Add DrawSelf. 2021-03-17 20:22:06 +01:00
Wojtek Figat
df497bf684 Fix UIControl invalid showing in prefab window using nested prefab with UI 2021-03-17 19:25:12 +01:00
Wojtek Figat
960268f756 Fix UICanvas state synchronization when working with prefabs 2021-03-17 19:23:54 +01:00
Wojtek Figat
518df5e62b Add skipping textbox scrolling if it has no selection 2021-03-17 13:44:38 +01:00
Wojtek Figat
e6d3242670 Fix invalid UIControl event blocking for prefab editor 2021-03-17 11:58:26 +01:00
Wojtek Figat
2a2d9f54de Fix UIControl location deserialization when using prefabs and anchors
#218
2021-03-17 11:55:17 +01:00
Wojtek Figat
0122bf68bf Fix skipping UICanvas diff serialization for Size property if render mode is ScreenSpace 2021-03-17 11:54:36 +01:00
Wojtek Figat
8fb27e6f83 Fix missing UICanvas linkage in prefab preview
#218
2021-03-17 11:12:08 +01:00
Wojtek Figat
4eeadf87fb Fix warning 2021-03-17 10:28:14 +01:00
Wojtek Figat
691df4cb80 Fix Dpi issues when RootWindow is null
Fix #344
2021-03-17 00:04:16 +01:00
Wojtek Figat
878fee505f Fix updating UI layout after changing control order 2021-03-16 23:38:56 +01:00
stefnotch
b151ab497f Fix UICanvas high DPI issues 2021-03-15 17:30:35 +01:00
stefnotch
85ab871d48 Call the correct DPI getter
See also https://github.com/FlaxEngine/FlaxEngine/pull/267
2021-03-15 15:40:32 +01:00
Wojtek Figat
9ed0138a17 Fix crash on using Space char in font with no font atlases initialized 2021-03-14 19:01:42 +01:00
Wojtek Figat
544a043c56 Fix crash for empty text in Text Render
Fixes #327
2021-03-12 15:33:09 +01:00
Wojtek Figat
a2be4bb74a Fix deserialization of UTF-8 string for C# object properties
Closes #320
2021-03-12 13:50:03 +01:00
Wojtek Figat
84265322d5 Post merge fixes, tweaks, cleanup and improvements 2021-03-08 22:30:49 +01:00
Wojtek Figat
d06433deed Merge branch 'better-uicontrol-editor' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-better-uicontrol-editor 2021-03-08 22:01:30 +01:00
Wojtek Figat
b7814e119b Merge branch 'label_text_clip_margin_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-label_text_clip_margin_fix 2021-03-08 21:53:35 +01:00
Wojtek Figat
0db1f5e965 Fix selection in high dpi 2021-03-08 20:57:35 +01:00
Wojtek Figat
fcc0ca1772 Merge branch 'textbox_dpi_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-textbox_dpi_fix 2021-03-08 20:52:12 +01:00
Wojtek Figat
81f3a65a5f Merge branch 'fix-per-window-dpi' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-per-window-dpi
# Conflicts:
#	Source/Editor/Utilities/Utils.cs
#	Source/Editor/Windows/Assets/MaterialWindow.cs
#	Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
#	Source/Engine/Platform/Linux/LinuxWindow.cpp
#	Source/Engine/Platform/Windows/WindowsWindow.cpp
2021-03-08 20:50:31 +01:00
Wojtek Figat
77b21de534 Fix UTF-8 and UTF-16 encoding support usage in Json resources
Closes #310
Closes #27
2021-03-07 21:30:01 +01:00