Re: [qooxdoo-devel] Calculation of flex

2015-01-13 Thread Daniel Lenggenhager
Hi Sanne, Thanks for your answer. I will report it as a bug to the qooxdoo team. By the way, my idea to work with flex to create a barcode isn't the right way. I work now with pixels and the correct calculation of the best scale for a flex layo

Re: [qooxdoo-devel] Calculation of flex

2015-01-13 Thread Sanne Peters
Hi Daniel, You are right, but it seems that perhaps the flex calculation by qooxdoo flex layout makes some errors. According to the specs of the css flex layout: If a container, of 400px width, flexes its 10 children, by a degree of 1, each child would be 40px in width. If that same contai

[qooxdoo-devel] Calculation of flex

2015-01-12 Thread Daniel Lenggenhager
Hi all, When I make a container (width: 400px) and put 10 widgets with a flex of 1, each widget has a computed width of 40px. In my opinion, perfect :-D Now... I remove a widget and set another to flex of 2... the sum of flex is still 10. But the comp