Implemented the following: FITTOCHILDREN: Set the RASTERSIZE attribute of the reference element in the given column or line, so that it will fit the largest element in the column or the highest element in the line. The number of the column or line must be preceded by a character identifying its type, "C" for columns and "L" for lines. For example "C5"=column 5 or "L3"=line 3. To update the layout size call IupRefresh. (Since 3.10)
Just committed to CVS. Best, Scuri > -----Original Message----- > From: Ico Doornekamp [mailto:[email protected]] > Sent: terça-feira, 7 de janeiro de 2014 06:49 > Cc: IUP discussion list > Subject: [Iup-users] Making the gridbox 'just work' > > 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.clk > trk > _______________________________________________ > Iup-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iup-users ------------------------------------------------------------------------------ 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
