Re: Distributing extra space to children

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le septidi 27 frimaire, an CCXIX, Robert Pearce a écrit :
> 
> - Allocate a sufficiently large table, say ten cells across.
> - Place the first child in cells 0..6 (i.e. attach with 0,7)
> - Place the second child in cells 7..9 (i.e. attach with 7,10)
> - Set the table to be homogenous
> 
> Because the table cells are all equal sized, and the child widgets
> occupy 7 and 3 respectively, they get 70% and 30% of the space.

They get 70% and 30% of the whole space, not 70% and 30% of the extra space
when all children already had their minimum need.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux