Native browser layout instead of rect() + layout()

28 views
Skip to first unread message

sm0g

unread,
Mar 21, 2011, 7:17:15 AM3/21/11
to ukijs
Vladimir, could you comment your decision to modify view positioning
mechanics? I think it's one of the most important part of UKI.

Vladimir Kolesnikov

unread,
Mar 21, 2011, 5:27:48 PM3/21/11
to uki google group
Short
I'm not removing programmable layout completely. It's just not gonna be
used where native layout is enough. Native layout is basically much faster.

Longer
1. IE6 does not support setting both left and right in absolute
positioning. Only left + width, or right + width. This was one of the main
reasons I went for programmable layout for all views.
2. Dev version of uki is no longer designed to support IE6. This means
everything that rect + anchors can do, can be also done using basic
absolute positioning.
3. I'm not removing programmable layout completely. All views still
receive "resized" call when parent is resized. So "SplitPane" or
"DataList" work the same way they did.

Reply all
Reply to author
Forward
0 new messages