[sugar] Merging sugar-toolkit changes from tomeu repository
Tomeu Vizoso
tomeu
Tue Apr 1 05:48:51 EDT 2008
On Mon, Mar 31, 2008 at 11:09 PM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> On Mon, Mar 31, 2008 at 9:46 PM, Eben Eliason <eben.eliason at gmail.com> wrote:
>
> > Here is my attempt at consolidating the changes to palette.py. The
> > layout is tested with respect to primary text, secondary text, and
> > icons, but I have not visually tested the accel labels. All of the
> > other changes applicable have been merged.
>
> Hmm, accel labels don't appear, but they are correctly set. I suspect
> something in do_size_request(). Tomorrow will check further.
Looks like gtk.AccelLabel's container isn't allocating enough width.
Just enough for the label, but not enough for the accelerator.
Setting xscale to 1 makes the gtk.Alignment to allocate more
horizontal space for its child and the accelerator appears:
self._label_alignment = gtk.Alignment(xalign=0, yalign=0.5,
xscale=1, yscale=0.33)
I'm not sure the layout is what you want, could you check?
Thanks,
Tomeu
More information about the Sugar-devel
mailing list