I am trying to do that, but I haven't got it working yet.

Kent

On Mon, 2006-03-06 at 09:27 +0100, Sebastian Werner wrote:
> Kent Olsson schrieb:
> > Hej Sebastian!
> > 
> > Can you tell me why the nested vertical and horizontal box layouts do not 
> > adjust? I attach an image showing what happens to the widgets. I actually 
> > only have values for the message and its button pane., but it overlays att 
> > (0, 0)
> > I can not have fixed size, because the text can be different as well as the 
> > icon etc. It must adjust itself.
> 
> The layouts have no default dimensions. This was changed some month ago 
> in RENDERER. You must define "auto" for width/height where you need it.
> 
> Sebastian
> 
> 
> > 
> > Kent
> > ------------
> > 
> >   // Upper
> >   var upperHBL = this._upperLayout = new QxHorizontalBoxLayout();
> > 
> >   // Upper left
> >   var messageI = this._icon = new QxImage(vIcon, 48, 48);
> > 
> >   // Upper right
> >   var rightVBL = this._rightLayout = new QxVerticalBoxLayout();
> > 
> >   // Upper right top
> >   var messageL = this._message = new QxLabel(vMessage);
> > 
> >   rightVBL.add(messageL);
> > 
> >   // Upper right bottom
> >   if(QxUtil.isValidObject(vInputWidget)) {
> >     this._inputWidget = vInputWidget;
> >     rightVBL.add(vInputWidget);
> >   };
> > 
> >   upperHBL.add(messageI, rightVBL);
> > 
> >   // Lower
> >   var buttonsBP = this._buttons = new QxButtonPane();
> > 
> >   var layoutVBL = this._layout = new QxVerticalBoxLayout();
> >   layoutVBL.add(upperHBL, buttonsBP);
> > 
> >   this.add(layoutVBL);
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to