gui2: added mclayout (matrix layout ordering by column).

This commit is contained in:
Martin Preuss
2026-04-12 01:31:23 +02:00
parent 7d556c0f26
commit 66be348ecd
6 changed files with 1152 additions and 285 deletions

View File

@@ -152,9 +152,8 @@ netStatWinCreateContent:
; create MLayout
ldi r16, 0 ; OPTS
ldi r17, (WIDGET_PACK_FILLED<<WIDGET_PACK_HSELF0_BIT) | (WIDGET_PACK_FILLED<<WIDGET_PACK_VSELF0_BIT) ; PACK
ldi r20, MLAYOUT_MODE_COLUMNS
ldi r21, 2 ; columns per row
bigcall MLayout_new
ldi r20, 2 ; columns per row
bigcall MCLayout_new
brcc netStatWinCreateContent_ret
mov xl, yl ; use MLayout as parent