Commit graph

16 commits

Author SHA1 Message Date
3c4ccbbf54 Move ui library to ui_legacy 2023-04-17 13:12:04 +03:00
6fe5d72415 Fix ui::grid_layout::set_size element parenting 2022-12-19 20:35:12 +03:00
9a2c562eec Add ui::asymmetric element that supports width_first() reshaping 2022-05-16 12:09:58 +03:00
6aebd8c931 Introduce ui::element::{width,height}_constraint - constraints on one dimension given the size in another dimension 2022-04-16 17:16:09 +03:00
e568ecf14c Fix grid_layout size computation in case all rows/columns are minimized 2022-03-12 18:01:30 +03:00
9942ab60a9 Fix ui::grid_layout size computation 2022-03-12 01:48:36 +03:00
de352705f4 Cache computed row & column shapes in grid_layout 2022-03-12 01:16:01 +03:00
fd0048c423 Fix grid_layout remembering bounding box 2022-03-01 14:18:12 +03:00
fa581d0ed3 Make ui::grid_layout::get return shared_ptr 2022-02-07 21:13:41 +03:00
5ddf8795d5 Add grid layout child adding helpers 2021-10-13 22:51:44 +03:00
ea46e820ab UI elements should explicitly reset parent for their children 2021-03-04 13:58:15 +03:00
bf9e279952 Grid layout changes: support minimized rows/columns + support skipping outer outline 2021-03-03 19:20:09 +03:00
31fbfdaa4d Simplify creating horizontal/vertical layouts 2021-03-03 13:39:01 +03:00
b37d2d25c7 Implement cached style merging 2021-02-27 20:21:50 +03:00
d0a117adf4 Make style members optional 2021-02-27 19:59:12 +03:00
1e9eb51911 Implement ui grid layout 2021-02-26 22:57:43 +03:00