Commit Graph

257 Commits

Author SHA1 Message Date
luchu1993 68e3e459f0 Fix ProgressBar fill with large margins
Apply BarMargin before calculating the filled progress area so low values cannot shrink the bar rectangle into a negative size. This keeps ProgressBar fills clamped within the inner drawable area when large margins are used.\n\nFixes #4076.
2026-06-20 10:12:31 +08:00
mafiesto4 925b83e095 Fix text box selection height on macOS with custom system scale (hack) 2026-04-18 21:01:37 +02:00
mafiesto4 b8110e9db3 Add = to text box separators 2026-03-30 00:13:24 +02:00
Phantom 14d6273a2f fix #2 on Dropdown 2026-03-14 15:29:31 +01:00
Phantom f876068086 Fix Text Color Highlighted 2026-03-13 20:09:57 +01:00
Phantom 6b1490dac4 Merge branch 'master' into Improve-HighlightedPopUpColor 2026-03-12 12:26:26 +01:00
Tryibion c3aecc1a11 Add allowable characters enum to text box 2026-03-10 19:47:09 -05:00
Phantom f4c1e81f64 Merge branch 'master' into Improve-HighlightedPopUpColor 2026-03-09 18:56:30 +01:00
Tryibion 4d4571ee55 Allow -1 for Max textbox length
Allow -1 to be "no" length or max length. add bottom limit of -1.
2026-03-06 20:02:24 -06:00
Phantom dfdcd47ad7 Merge branch 'master' into Improve-HighlightedPopUpColor 2026-03-04 22:33:45 +01:00
Saas db46050b16 tweak caret blink speed 2026-03-01 11:01:55 +01:00
Phantom ae46520edf Merge branch 'master' into Improve-HighlightedPopUpColor 2026-02-02 10:31:24 +01:00
mafiesto4 c9d16e16cc Fix Rich Text Box vertical alignment of the inlined images and whole contents
#3502 ae4ae7a638 7ee2e66881
2026-01-29 10:55:10 +01:00
Phantom 0094216ff8 Renaming Luminance name to Brightness 2025-12-15 14:29:57 +01:00
Phantom 7f2f73afd8 Added Luminance property and updated authors
-Added public Luminance property in Color.cs to calculate colour brightness.
-Refactored Dropdown.cs to use Luminance instead of manual calculation.
-Updated author list in AboutDialog.cs by adding ‘Michael Salvini’.
2025-12-15 00:48:42 +01:00
Phantom bb2e22ecf2 Improved readability of highlighted text in drop-down menus
TextColorHighlighted is now automatically lightened if too dark, by calculating brightness and interpolating towards white. This ensures better readability of selected items in drop-down menus.
2025-12-14 13:14:45 +01:00
Phantom ed50ce9c90 Change Dropdown's EditorOrder from 2023 to 2024 2025-12-07 18:48:16 +01:00
Phantom a7e77f6e21 Update CreatePopupItem method
-Modify the `TextColour` property to use a dynamic value based on `TextColour` multiplied by `0.9f` instead of a fixed value (`Colour.White * 0.9f`).
-Modify the `TextColourHighlighted` property to use the dynamic value of `TextColourHighlighted` instead of a fixed value (`Colour.White`).
2025-12-07 18:23:38 +01:00
Phantom 56278b17ee Add Text Color Highlighted on Dropdown 2025-12-07 16:53:43 +01:00
mafiesto4 dab44f5ceb Minor fixes 2025-10-16 10:20:51 +02:00
mafiesto4 823ed247d2 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Source/Engine/Level/Actors/Sky.cpp
2025-10-03 22:37:32 +02:00
mafiesto4 4c640b915f Fix CheckBox to display check state when created in game without editor icon atlas
#3705
2025-10-03 11:25:25 +02:00
mafiesto4 87e2c4c4d5 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Source/Editor/Windows/OutputLogWindow.cs
#	Source/Engine/Level/Actor.cpp
2025-09-24 18:18:27 +02:00
mafiesto4 ae4ae7a638 Fix rich textbox vertical alignment
#3502
2025-09-15 15:17:18 +02:00
mafiesto4 8921cf5156 Add label/button text to string convertion for better debugging 2025-09-09 10:42:10 +02:00
mafiesto4 9646dd3fc2 Fix AutoFocus on ContainerControl to be false by default 2025-07-15 12:33:33 +02:00
mafiesto4 185151b025 Minor fixes 2025-06-27 18:52:25 +02:00
mafiesto4 ba75fd5882 Fix crash regression when textbox watermak is null 2025-06-05 12:47:45 +02:00
mafiesto4 fd8a8b5a4d Fix missing default value of localized string in editor 2025-06-02 18:02:34 +02:00
mafiesto4 51df5af253 Merge branch 'fix-shift-arrow-end' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-shift-arrow-end 2025-04-08 16:50:09 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Tryibion cb6a4cc325 Fix text box shift not working when selection start is at the text length. 2025-04-03 13:58:16 -05:00
mafiesto4 7e145c56fd Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/Windows/Profiler/Memory.cs
2025-03-25 13:37:15 +01:00
mafiesto4 7ee2e66881 Fix Rich Text Box ascender usage in line breaks for correct images placement
#3292
2025-03-17 16:37:15 +01:00
mafiesto4 7144e9352d Optimize image size access 2025-03-17 15:19:53 +01:00
mafiesto4 a4082934b8 Update Editor UI to use empty Pivot after fa68a5f572
#3031
2025-03-16 23:06:08 +01:00
mafiesto4 fa68a5f572 Fix UI Controls layout auto-resizing to always use pivot-relative logic
#3031
2025-03-16 22:57:18 +01:00
mafiesto4 1e2e613a78 Fix rich textbox carret placement regressions
#3118 #2964
2025-03-08 23:49:12 +01:00
mafiesto4 2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
mafiesto4 b81b0b7616 Fix text clipping behind the button in Behavior Knowledge Selector editor 2025-02-21 19:34:35 +01:00
mafiesto4 a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
mafiesto4 b6f7914b14 Fix RenderToTextureControl to render correctly when using different texture size than control size
#2760
2025-02-01 15:17:21 +01:00
mafiesto4 addc6d5216 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Content/Editor/Gizmo/Material.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Source/Editor/Windows/Assets/ModelWindow.cs
#	Source/Editor/Windows/Assets/SkinnedModelWindow.cs
#	Source/Engine/Core/Types/Variant.cpp
2025-01-13 18:07:54 +01:00
Tryibion f2e4fe300b Change color for readonly text. Fix selection still showing when text box is not focused. 2024-12-31 12:56:43 -06:00
mafiesto4 9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Tryibion 65d966fffa Add being able to obfuscate text in a text box with a character. 2024-11-15 09:45:02 -06:00
mafiesto4 b681a03bfb Fix output log window to properly handle copy and other input events 2024-10-21 13:03:40 +02:00
mafiesto4 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
Tryibion 8080c21760 Fix HasBorder and BorderThickness for RichTextBox 2024-09-27 11:31:59 -05:00