gui2: more work on layouting.

This commit is contained in:
Martin Preuss
2026-03-07 01:13:02 +01:00
parent 2cf4e414d2
commit 283738f4f3
4 changed files with 72 additions and 22 deletions

View File

@@ -91,9 +91,10 @@ VLayout_Init:
VLayout_OnLayout:
rcall vLayoutVertically
rcall vLayoutHorizontalAdjust
; force re-drawing of this widget
; force re-drawing of this widget, clear layout bit
ldd r16, Y+OBJECT_OFFS_FLAGS
ori r16, (1<<WIDGET_FLAGS_DIRTY_BIT)
sbr r16, (1<<WIDGET_FLAGS_DIRTY_BIT)
cbr r16, (1<<WIDGET_FLAGS_LAYOUT_BIT)
std Y+OBJECT_OFFS_FLAGS, r16
sec
ret