GNOME Bugzilla – Bug 677283
box-layout: Honor actor expand and alignment
Last modified: 2012-06-04 14:17:43 UTC
Check if the actor has needs to expand and use Actor.allocate() instead of Actor.allocate_align_fill() in that case.
Created attachment 215429 [details] [review] box-layout: Honor actor expand and alignment
Created attachment 215488 [details] [review] examples: Updated box-layout example Updated test-box-layout to use modern API and move it to examples.
Created attachment 215489 [details] [review] examples: Updated box-layout example Updated test-box-layout to use modern API and move it to examples.
Created attachment 215535 [details] [review] box-layout: Deprecate expand/fill/align child properties These are covered by ClutterActor:[xy]-align and ClutterActor:[xy]-expand
Review of attachment 215429 [details] [review]: looks good; at some point we'll have to figure out how to let the BoxLayout layout properties influence the needs_expand() computations.
Review of attachment 215489 [details] [review]: looks okay
Review of attachment 215535 [details] [review]: looks okay
Attachment 215429 [details] pushed as 157353e - box-layout: Honor actor expand and alignment Attachment 215489 [details] pushed as f14c71c - examples: Updated box-layout example Attachment 215535 [details] pushed as c7c3d85 - box-layout: Deprecate expand/fill/align child properties