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

Tomeu Vizoso tomeu at sugarlabs.org
Sat Sep 19 10:03:31 EDT 2009


On Sat, Sep 19, 2009 at 15:38, Lucian Branescu
<lucian.branescu at gmail.com> wrote:
> To be more precise, I'd like all the text except the first paragraph
> to extend to the left and right borders.

Do you know if the vbox they are in extends to those borders or not?

I use to write a small gtk script that reproduces the widget hierarchy
so I can play more easily with the different options.

Regards,

Tomeu

> 2009/9/19 Tomeu Vizoso <tomeu at sugarlabs.org>:
>> 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
>>
>



-- 
«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