[Sugar-devel] gtk.Label expanding/aligning issue

Tomeu Vizoso tomeu at sugarlabs.org
Sat Sep 19 04:32:47 EDT 2009


On Fri, Sep 18, 2009 at 23:10, Lucian Branescu
<lucian.branescu at gmail.com> wrote:
> I'm having trouble with making a gtk.Label expand to the whole screen.

You mean the whole screen or the whole available space?

> I've tried various combinations of box packing options, label props
> and box props, no success so far.

AFAICS, you have all the expand=True and fill=True that should be
necessary. From just looking at the code, I would suspect the scrolled
window is having an unexpected effect.

> My code lives here http://github.com/lucian1900/webquest

Very clean code, congrats!

> I've also attached a screenshot with this.

What's the problem with this, you would like the text to extend also
to the left and right borders?

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


More information about the Sugar-devel mailing list