Hi again,

I have had a look at your example, and your problem.

First: the native checkbox input is intended to be hidden. In many browser the 
checkbox styling can not be changed, and that is why we have an overlay
for this checkbox with CSS pseudo elements.

You problem might be caused by the fact that your check box is not wrapped by a 
composite container. Without the container, the label and the sublabel takes 
the whole space of the list item entry.

I written a renderer for an application which display buttons inside a list 
item. The important methods are:

[...]
extend : qx.ui.mobile.list.renderer.Abstract,
[...]
 /**
     * Inits the widgets for the renderer.
     *
     */
    _init : function()
    {
      this.__image = this._createImage();
      this.add(this.__image);

      this.__rightContainer = this._createRightContainer();
      this.add(this.__rightContainer, {flex:1});

      this.__buttonContainer = this._createButtonContainer();
      this.add(this.__buttonContainer,{flex:0});

      this.__title = this._createTitle();
      this.__rightContainer.add(this.__title);

      this.__subtitle = this._createSubtitle();
      this.__rightContainer.add(this.__subtitle);
    },
[...]
 /**
     * Creates and returns the button container composite. Override this to 
adapt the widget code.
     *
     * @return {qx.ui.mobile.container.Composite} the right container.
     */
    _createButtonContainer : function() {
      return new qx.ui.mobile.container.Composite(new 
qx.ui.mobile.layout.HBox());
    },
[…]


Please try to wrap your checkbox by a composite, just like in the example. That 
might help solving your problem.

Greetz Christopher




Am 30.01.2013 um 20:24 schrieb Ingo Bürk:

http://www.airblader.de/qxCheckBoxList/index.html 
<http://www.airblader.de/qxCheckBoxList/index.html#>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to