replace MLayout with MCLayout.

This commit is contained in:
Martin Preuss
2026-04-12 11:07:11 +02:00
parent 42b7ce1814
commit 505910bd12

View File

@@ -104,9 +104,8 @@ menuWinCreateContent:
push yh
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, 5 ; columns per row
bigcall MLayout_new
ldi r20, 5 ; columns per row
bigcall MCLayout_new
mov xl, yl ; use MLayout as parent
mov xh, yh
pop yh