44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
Sticky content
|
|
|
|
(Frame scrolling node
|
|
(scrollable area size 800 600)
|
|
(contents size 800 600)
|
|
(scrollable area parameters
|
|
(horizontal scroll elasticity 2)
|
|
(vertical scroll elasticity 2)
|
|
(horizontal scrollbar mode 0)
|
|
(vertical scrollbar mode 0))
|
|
(layout viewport at (0,0) size 800x600)
|
|
(min layout viewport origin (0,0))
|
|
(max layout viewport origin (0,0))
|
|
(behavior for fixed 0)
|
|
(children 2
|
|
(Overflow scrolling node
|
|
(scrollable area size 385 285)
|
|
(contents size 385 1100)
|
|
(scrollable area parameters
|
|
(horizontal scroll elasticity 0)
|
|
(vertical scroll elasticity 0)
|
|
(horizontal scrollbar mode 0)
|
|
(vertical scrollbar mode 0)
|
|
(allows vertical scrolling 1))
|
|
)
|
|
(Overflow scroll proxy node
|
|
(related overflow scrolling node scroll position (0,0))
|
|
(children 1
|
|
(Sticky node
|
|
(anchor edges: AnchorEdgeTop )
|
|
(top offset 10.00)
|
|
(containing block rect at (50,50) size 285x1000)
|
|
(sticky box rect at (50,50) size 285x18)
|
|
(constraining rect at (0,0) size 385x285)
|
|
(sticky offset at last layout width=0 height=0)
|
|
(layer position at last layout (50,50))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
|