Implement size negotiation and dynamic handling of resize (the same for move?)
Closed this issue · 2 comments
GoogleCodeExporter commented
See how parent components negotiate size with chidlren in Gtk, HTML, Java
etc... Implement these "Layout Managers" and think about handling of
onResize_me and onResize_domebody (all in CompositeItem)
Original issue reported on code.google.com by dim2...@gmail.com
on 12 Aug 2013 at 8:51
GoogleCodeExporter commented
In GTK+ first everybody from top to bottom queries size_request. Then topmost
widget resizes (maybe more (or less) then request) and asks children to
accomodate this size.
In dq - implemented onRequestLayOut callback. It is called by children each
time they change size and also in CompositeItem's add() and remove().
Now any size/position related code should be placed in onRequestLayOut() in Lua
classes.
Original comment by dim2...@gmail.com
on 21 Aug 2013 at 2:53
GoogleCodeExporter commented
marked as fixed
Original comment by dim2...@gmail.com
on 21 Aug 2013 at 2:56
- Changed title: Implement size negotiation and dynamic handling of resize (the same for move?)
- Changed state: Fixed