Tx Andrei for looking into this problem. Yes, my example works with your fix and the rows heights are computed correctly.
However, when we do not provide the size for the last row, it appears that row size exceeds the container (column) size (height). So, to reproduce you need to remove the size of the third pane to see the problem:
|tab| tab := GLMTabulator new. tab column: [ :col | col row: #first size: 80; row: #second; row: #third ]. tab transmit to: #first; andShow: [:a | a dropDownList display: [:x | 1 to: x ] ]. tab transmit to: #second; andShow: [:a | a list display: [:x | 1 to: x ] ].tab transmit to: #third; andShow: [:a | a list display: [:x | 1 to: x ] ]. tab openOn: 10
usman
On Wed, Jul 23, 2014 at 6:07 PM, Andrei Chis chisvasileandrei@gmail.com wrote:
Hi Usman,
Your example should work now. There is still a problem in the renderer if your tabulator ends with multiple rows/columns that have a fixes size. ( https://code.google.com/p/moose-technology/issues/detail?id=1083) Let me know if you run into this issue.
Cheers, Andrei
On Wed, Jul 23, 2014 at 5:44 PM, Andrei Chis chisvasileandrei@gmail.com wrote:
Yes, it's a bug. It seems that the offset of the last pane does not get properly computed if the last pane has a fixed size and there is at least another pane with a fixed size. I'll look for a fix.
Cheers, Andrei
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev