[Sugar-devel] [DESIGN] Width of the TitleEntry widget

Gary C Martin gary at garycmartin.com
Mon Mar 15 07:56:25 EDT 2010


Hi James,

On 15 Mar 2010, at 10:25, James Cameron wrote:

> Was not able to see the HIG grid constants defined anywhere in
> sugar-toolkit or sugar-base.  Can you advise, Tomeu?

Not sure if it's what you're after, but I was using this to set the size of a secondary toolbar (height) at one point:

    from sugar.graphics import style
    ....
    ....
    self.set_size_request(-1, style.GRID_CELL_SIZE)

Regards,
--Gary


More information about the Sugar-devel mailing list