Thanks alot Gonzalo, it worked.<br>Appreciate your help!<br><br><div class="gmail_quote">On Sat, Jan 19, 2013 at 10:15 PM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>You need add a invisible separator with expanded = True, see:</div><div><br></div><div><a href="http://git.sugarlabs.org/hello-world/mainline/blobs/master/activity.py#line62" target="_blank">http://git.sugarlabs.org/hello-world/mainline/blobs/master/activity.py#line62</a></div>
<div><br></div>Gonzalo<br><br><div class="gmail_quote"><div><div class="h5">On Sat, Jan 19, 2013 at 3:54 AM, Kartik Kumar Perisetla <span dir="ltr"><<a href="mailto:kartik.peri@gmail.com" target="_blank">kartik.peri@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi,<br><br>I have used this snippet to right align stop button on Toolbox's toolbar:<br>
using sugar3.<br><br><b>from sugar3.graphics.toolbarbox import ToolbarBox<br>
from sugar3.activity.widgets import StopButton<br> ....<br>
</b><b>#add toolbox<br> toolbox= ToolbarBox(self)<br> </b><b>#stop button<br> stop_button=StopButton(self)<br> toolbox.toolbar.insert(stop_button,-1)</b><br><br>But it is not getting aligned there and is still visible next to previous buttons on toolbar:<br>
<img alt="Inline image 1" src="cid:ii_13c519411575cbeb"><br>Can anyone tell me if I am missing something?<br><br>Cheers!<span><font color="#888888"><br>Kartik<br>
</font></span><br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br>