table column minWidth maxWidth bug?

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

table column minWidth maxWidth bug?

danovics

As in my on Application I found a problem on the demopages too:
http://demo.qooxdoo.org/devel/demobrowser/#table~Table_Resize_Columns.html

<code>
      resizeBehavior.setWidth(1, "50%");
      resizeBehavior.setMinWidth(1, 100);
      resizeBehavior.setMaxWidth(1, 320);
</code>

In spite of that in the demo code are set the min and maxWidth for the
column1, in the demo it just doesn't work properly. One could change the
size of column1 without limitations.
Please try it, and kidly translate it for me.

thanks
--
View this message in context: http://old.nabble.com/table-column-minWidth-maxWidth-bug--tp26299421p26299421.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: table column minWidth maxWidth bug?

Fabian Jakobs
Administrator
Hi sikd,

you are right, the demo does not work as one would intuitively expect.
The min and max sizes are only respected if the resize calculation is
done - e.g. when you resize the window. They are not respected when you
resize the column manually. So it works as designed but I still would
regard this as a (design) bug. Could you please open a bur report for
this issue so we can trach it?

Best Fabian

> As in my on Application I found a problem on the demopages too:
> http://demo.qooxdoo.org/devel/demobrowser/#table~Table_Resize_Columns.html
>
> <code>
>       resizeBehavior.setWidth(1, "50%");
>       resizeBehavior.setMinWidth(1, 100);
>       resizeBehavior.setMaxWidth(1, 320);
> </code>
>
> In spite of that in the demo code are set the min and maxWidth for the
> column1, in the demo it just doesn't work properly. One could change the
> size of column1 without limitations.
> Please try it, and kidly translate it for me.
>
> thanks
>  


--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel