[Sugar-devel] JS activity issues

Manuel Quiñones manuq at laptop.org
Mon Jul 15 15:13:15 EDT 2013


2013/7/13 Walter Bender <walter.bender at gmail.com>:
> So I wrote my first JS activity [1, 2] (although I wrote the original
> XO Colors activity in JS and XML back in 2007) and will it sort of kid
> of works, I have some problems:
>
> (1) The toolbar buttons are not properly aligned vertically. From my
> web browser, the activity button is properly aligned, but the "new"
> button I added is offset down by about 25 pixels. In Sugar (latest
> sugar-build running on F19), the activity button is offset down and
> the "new" button is properly aligned.

It was a bug.  Good catch!  I have sent a pull request that fixes it.

PR: https://github.com/sugarlabs/sugar-web/pull/64/
Testcase: http://sugarlabs.github.io/sugar-web-samples/activitypalette.html

--
.. manuq ..


More information about the Sugar-devel mailing list