Hello Martin,

Am 30.07.2010 11:53, schrieb Martin Wittemann:
>
> We are aware of that. We added a lot of new features since 0.7 which 
> caused the increase of the DOM elements. As you can see, the checkbox 
> and radiobutton is now fully themable which was not possible with the 
> 0.7 once. Still, we have a open bug report to check if its possible to 
> reduce the number of DOM elements to speed up the rendering:
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=3548
>
> Sure, custom widgets are always possible and quite easy to implement. 
> I took some minutes to get an example checkbox running in the 
> playground. Its not much but you see that its working and only using 
> one div and one input:
> http://tinyurl.com/3ab2ttm
>

I've created a test implementation of a "lightweight" version of 
qx.ui.form.CheckBox and qx.ui.form.RadioButton. I've started this as a 
contribution project with some still missing features and alignment 
features. The appearance is missing so there is no disabled and focused 
state visible. I'm using for test purposes the atom appearance. The 
label is on the right side of the button/box without any vertical alignment.

The main idea was to use a rich label as a content element and to place 
there plain html code which contains the input tag and the label tag. 
There is also a class derived from qx.bom.Label which catches the dom 
creation via a callback function which allows creating the html markup 
just before the qx.bom.Label dom element is created.

After first performance measurements creation of 200 checkboxes and 200 
radio boxes within a grid layout cuts the time for instance creation, 
adding the boxes and rendering them to ~ 35% for IE8. That sounds promising.

So for now I have to stop my investigation because the lack of time 
working on this.


-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner




------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to