Am Montag, 5. Mai 2008 15:48:23 schrieb Per Inge Mathisen: > This kind of layout is designed for application GUIs, and I am not > convinced they will work very for us. We have some rather complicated > UI elements (eg the reticule), and I would like to be able to specify > somehow the amount of offset there should be from one widget to > another, rather than the GUI code spacing them out over the available > area. For most use cases, I think we want widgets to snap to a border, > instead of centering and evenly spacing items as such layout schemes > usually do. [16:37] <EvilGuru> I add a widget of size (x,y) to a parent of size (p, q) [16:38] <EvilGuru> (p, q) > (x,y), what happens [16:38] <EvilGuru> As the child can not fill the parent as it is too big [16:38] <EvilGuru> so do we centrally align the child in the parent? [16:40] <devurandom> Depends on what we told the layout to do. [16:40] <devurandom> If we told the layout "center", then it will center. [16:40] <devurandom> if we told it "align left", it will align left... [16:41] <devurandom> That is basically the same as Per's snap-idea, just that there is a layout to do it centrally and automatically.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
