Sebastian!

I have attached a patch fixing the caption bar and caption bar title
problems.

I also added the same overflow hidden with the canvas layout.

The reason is that it is not always limited by any resize limitations
depending on the widget nesting.

Kent

On Tue, 2006-03-07 at 09:49 +0100, Sebastian Werner wrote:
> Kent Olsson schrieb:
> > Hej Sebastian!
> > 
> > If the caption bar is shorter than the width of the caption text title,
> > the text wraps into the next line. The caption bar still has the same
> > size. Here it should be an overflow hidden instead, when windows are
> > resized.
> 
> Could you contribute a patch to fix this?
> 
> Sebastian
> 
> 
> > 
> > Kent
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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
Index: theme.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/appearance/default/theme.js,v
retrieving revision 1.6
diff -u -r1.6 theme.js
--- theme.js	2 Mar 2006 08:12:36 -0000	1.6
+++ theme.js	7 Mar 2006 22:43:05 -0000
@@ -716,7 +716,8 @@
       paddingBottom : 2,
       paddingLeft : 2,
       verticalChildrenAlign : QxConst.ALIGN_MIDDLE,
-      height : QxConst.CORE_AUTO
+      height : QxConst.CORE_AUTO,
+      overflow : QxConst.OVERFLOW_VALUE_HIDDEN
     };
   },
 
@@ -762,7 +763,8 @@
     return {
       cursor : QxConst.CORE_DEFAULT,
       font : this.font,
-      marginRight : 2
+      marginRight : 2,
+      wrap : false
     };
   }
 });
Index: QxWindow.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxWindow.js,v
retrieving revision 1.30
diff -u -r1.30 QxWindow.js
--- QxWindow.js	3 Mar 2006 07:38:16 -0000	1.30
+++ QxWindow.js	7 Mar 2006 22:55:25 -0000
@@ -173,6 +173,7 @@
 
   var p = this._pane = new QxCanvasLayout;
   p.setHeight(QxConst.CORE_FLEX);
+  p.setOverflow(QxConst.OVERFLOW_VALUE_HIDDEN);
   l.add(p);
 
 

Reply via email to