Problem with Slidebar inside widget

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with Slidebar inside widget

arsen
Hi,


I'm using qx.ui.container.SlideBar inside a custom widget.

When using it outside widget, everything works fine, but when placing inside, the scrolling buttons don't have arrow icons on them and are wider.

Is this a bug or I'm doing something wrong ?


widget code looks like this(some lines are skipped):

qx.Class.define("...",
    {

        extend:qx.ui.core.Widget,

        construct:function (data) {
            this.base(arguments);
            ...            
            this._createChildControl("gcontainer");
            this._setLayout(new qx.ui.layout.HBox(1));

        },

        members:{
            _createChildControlImpl:function (id, hash) {
                var control;
                switch (id)  {
                    case 'gcontainer':

                        control = new qx.ui.container.SlideBar().set({
                            backgroundColor:"white",
                            orientation: 'horizontal',
                            width: 200
                        });

                        control.setLayout(new qx.ui.layout.HBox());
                        this._add(control);
                        return control;

                    ...

                    default:
                        return this.base(arguments, id);

                }

            }
}




Thanks,
Arsen
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Slidebar inside widget

Tristan Koch
Hi Arsen,

I don't see any lines at all?

> widget code looks like this(some lines are skipped):
>
>
>
>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Slidebar inside widget

arsen
strange, I can see it in my post above.

Anyway, I've copied it here: http://pastebin.com/0FMzWzmE