Commit graph

24 commits

Author SHA1 Message Date
Leon Styhre af1d1b3109 Fixed some rounding issues and the right-alignment in FlexboxComponent. 2021-10-17 18:45:21 +02:00
shadash 8fd05fcd77 bugfix, simplification
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-17 01:11:01 +02:00
Sophia Hadash 1c93ca2c07 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:33:34 +02:00
shadash c68f78f3d1 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:28:12 +02:00
Leon Styhre eb611d12db Fixed some issues in FlexboxComponent.
Also added some sanity checks and size restrictions to BadgeComponent and FlexboxComponent.
2021-10-13 18:18:23 +02:00
Leon Styhre ae96cb4c54 Further improvements to the badges code. 2021-10-12 22:53:02 +02:00
Leon Styhre 848277141a Optimized the badges code.
Also made a small adjustment to the alternative emulator badge.
2021-10-11 21:28:37 +02:00
shadash a93b975ca0 bug fixes, adjust theme badge proportions
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-10 13:29:26 +02:00
shadash 123e50cf17 change dimension constraints to use container size.
make margins proportional to screen size.

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-09 17:04:04 +02:00
Leon Styhre 3ff5f90f36 Fixed a sizing issue in FlexboxComponent. 2021-10-05 17:59:44 +02:00
shadash 95b729dadf replace badges svgs
minimize svgs
fix bug in flexbox component
adjust theme for new badges style

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:31:37 +02:00
shadash dbc9ffb99e remove unused imports
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:00:05 +02:00
shadash 519644f66c make direction and align an enum.
more in line defaults in constructor.
getter/setter in header

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:58:04 +02:00
shadash 9d23d124d4 change casts to c++ style
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:34:38 +02:00
Sophia Hadash f37d915653 remove old code 2021-10-02 21:30:10 +02:00
shadash 33f0b01c55 move to avoid unnecessary copies. 2021-10-02 21:29:27 +02:00
Leon Styhre 91f1a0a47d Improved the speed of the badges code.
Also made some other adjustments to the badges and flexbox logic.
2021-09-27 22:18:19 +02:00
Leon Styhre f6dd49071e Fixed lots of code formatting issues. 2021-09-27 21:06:07 +02:00
Sophia Hadash e2c1d2d0ef fix segfault in badge destructor
fix margins
2021-09-26 22:59:14 +02:00
Sophia Hadash 97067ae40b remove flexbox padding when item margins are set 2021-09-26 02:17:07 +02:00
Sophia Hadash 7820a94442 Implement origin. 2021-09-24 00:26:41 +02:00
Sophia Hadash af50921d4b merge master 2021-09-24 00:05:32 +02:00
Sophia Hadash aaf5d0209b Implement flexbox and badges. 2021-09-14 01:01:46 +02:00
Sophia Hadash efe928852f Separate flexbox functionality in it's own component. 2021-09-07 17:21:54 +02:00