[Tutor] grid manager question
Alan Gauld
alan.gauld at yahoo.co.uk
Mon Feb 13 04:58:01 EST 2023
On 13/02/2023 09:42, Phil wrote:
> The code below displays a list of circles, one per column. So far so
> good until I add any other widget under the row of circles. If I add a
> widget in column 8 then the circles are unaffected. If I add a widget
> into any other column (not the same row as the circles) then the circles
> move apart over that widget.
The columns auto resize to the size of the widest component in the
column. Presumably your new widget is wider than the circle?
To get round that you need to make your columns as wide as they
need to be at the beginning. Possibly be resizing the frame containing
your circles?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list