gui2: more work on layouting.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user