Commit Graph

29 Commits

Author SHA1 Message Date
nox7 ea0b4277cb CLANG Format 2026-05-30 21:48:32 -05:00
nox7 e9ab0c113b Fix no-wrap arrange setting being a no-op because no consideration of container size 2026-05-30 21:48:32 -05:00
nox7 987325e0a1 Resolve center alignment not using post-grow values for calculations 2026-05-30 21:48:32 -05:00
nox7 507105600c Fix stretch/grow not having correct track and container sizes when autosize is true 2026-05-30 21:48:21 -05:00
nox7 a6d642b3c7 Remove unnecessary calculations for final tracks. Add clamping for grow and stretch factors. Fix bug with grow on multiple children losing available space
CLANG syntax
2026-05-30 21:48:02 -05:00
Cole Green 403cb84397 Refactor algorithm to use a single outer loop pass. Remove use of struct. Remove use of vector for keeping track of the flex tracks
Fix incorrect calculation of final children size due to stray gap subtraction
2026-05-30 21:48:02 -05:00
Cole Green bd4a602bf0 Add missing used property for wrap 2026-05-30 21:48:02 -05:00
Cole Green f7dcb99645 Resolve issues with phantom gap on final primary axis row/column. Resolve warning about size_t to int conversion.
Resolve CLANG syntax enforcement errors

Fix CLANG syntax warnings
2026-05-30 21:48:01 -05:00
Cole Green 3046cbcfc3 Implement flex wrap property 2026-05-30 21:48:01 -05:00
Cole Green 451da2be0b Implement 'gap' property on flex elements to space out child contents 2026-05-30 21:48:01 -05:00
Alexei Kotov ff26ff7241 Revert "Merge branch 'flex-wrap-property' into 'master'"
This reverts commit e75866ff5a, reversing
changes made to 5ceff51074.
2026-05-30 15:42:23 +03:00
nox7 614bc98529 Remove unnecessary calculations for final tracks. Add clamping for grow and stretch factors. Fix bug with grow on multiple children losing available space
CLANG syntax
2026-05-29 00:54:08 +03:00
Cole Green 6963ece636 Refactor algorithm to use a single outer loop pass. Remove use of struct. Remove use of vector for keeping track of the flex tracks
Fix incorrect calculation of final children size due to stray gap subtraction
2026-05-29 00:54:08 +03:00
Cole Green aed536321a Add missing used property for wrap 2026-05-29 00:54:08 +03:00
Cole Green 4abf05b2ba Resolve issues with phantom gap on final primary axis row/column. Resolve warning about size_t to int conversion.
Resolve CLANG syntax enforcement errors

Fix CLANG syntax warnings
2026-05-29 00:54:08 +03:00
Cole Green a6d3f6f1c2 Implement flex wrap property 2026-05-29 00:54:08 +03:00
Cole Green 84a5680b8c Implement 'gap' property on flex elements to space out child contents 2026-05-29 00:54:08 +03:00
Mads Buvik Sandvei 9a508857b9 set -> vector. Other comments by Capo 2026-03-29 16:21:14 +02:00
Mads Buvik Sandvei fd9c11179f Use widget() to get name/typeName 2026-03-11 23:05:19 +01:00
Mads Buvik Sandvei d477189a87 Fix warning 2026-03-11 21:29:06 +01:00
Mads Buvik Sandvei 558bbf8b48 Warn on unused properties 2026-03-11 00:07:08 +01:00
Evil Eye 8cbcb82dd4 Prevent iterator invalidation when updating Lua UI and increase const correctness 2024-03-28 20:01:50 +01:00
clang-format-bot ddb0522bbf Apply clang-format to code base 2022-09-22 21:35:26 +03:00
uramer 52d05be04b Styling for Settings 2022-05-14 10:27:30 +00:00
uramer 1f5e3b78d4 Use Flex, don't force re-renders on layout table changes 2022-05-08 11:15:17 +02:00
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 2022-05-03 17:36:49 +00:00
uramer 02bbd226b8 Less primary/secondary coordinate boilerplate in Flex 2022-04-06 23:36:44 +02:00
uramer 3c74a20335 Refactor horizontal/vertical cases in Flex 2022-04-05 17:51:04 +02:00
uramer 788745e004 Make coordinate calculation more robust, implement Flex widget type 2022-04-04 23:10:03 +02:00