I am not sure if will help in your case,
but you can try remove the last separator before the stopbutton and add:
ti = Gtk.ToolItem()
align = Gtk.Alignment.new(1,0,0,0)
ti.add(align)
ti.set_expand(True)
stop_button = StopButton(self)
align.add(stop_button)
toolbar_box.toolbar.insert(ti, -1)
stop_button.show()
ti.show_all()
Works for you?
This have a problem, if the toolbar is smaller than the needed size,
instead of showing the menu,
don't show the button at all.
I have tried different options, but without success yet.
Gonzalo
>
> Works great. Check out
> http://wiki.sugarlabs.org/images/c/cb/Portfolio-27.xo which support
> rotation. But I am curious why the stop button runs off the edge... it
> would appear there is plenty of room for it.
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel