[Sugar-devel] StopButton not getting right aligned in GTK3
Kartik Kumar Perisetla
kartik.peri at gmail.com
Sat Jan 19 01:54:22 EST 2013
Hi,
I have used this snippet to right align stop button on Toolbox's toolbar:
using sugar3.
*from sugar3.graphics.toolbarbox import ToolbarBox
from sugar3.activity.widgets import StopButton
....
**#add toolbox
toolbox= ToolbarBox(self)
**#stop button
stop_button=StopButton(self)
toolbox.toolbar.insert(stop_button,-1)*
But it is not getting aligned there and is still visible next to previous
buttons on toolbar:
[image: Inline image 1]
Can anyone tell me if I am missing something?
Cheers!
Kartik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130119/70e2bf08/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stopButton.png
Type: image/png
Size: 3233 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130119/70e2bf08/attachment.png>
More information about the Sugar-devel
mailing list