Hi Iup List,

I often find myself in a situation where I need to represent some
controls in a tabular fashion, for example to draw a grid with a column
ofof labels, a column of inputs and checkboxes and a column of data
unist, not unsimilar the iupGetParam, but with some additional columns.

I'm trying to implement this using the IupGridbox, but I always and up
struggling to get the size of the columns and rows right to fit in all
elements. 

The IupGridbox takes the column and row size from the reference line,
which tends to be quite cumbersome: I need to iterate all elements in
the gridbox to find the widest column and adjust the reference column
accordingly. From the Iup source I found that the IupGetParam does
something similar internally as well.

The intuitive thing I'd expect from a gridbox is that it will
automatically scale each row and colum so that it can contain all of its
elements. Is there a way to make the gridbox behave more friendly? Is
there a specific reason for the current implementation?

Thank you,

Ico

-- 
:wq
^X^Cy^K^X^C^C^C^C

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to