Hello,

I decided that I wanted to make my own layout handler, but I'm running into
some snags. I set the following attributes of a gbox:

'ORIENTATION','HORIZONTAL'
'NUMDIV','4'
'SIZELIN','0'
'SIZECOL','2'
'MARGIN','5x5'
'GAPCOL','5'
'GAPLIN','5'
'ALIGNMENTLIN','ACENTER'
'ALIGNMENTCOL','ARIGHT'

I wanted to get the height of an IupText, so I used iupAttribGetStr, but
iupAttribGetStr returns the following values:

'ORIENTATION',''
'NUMDIV','AUTO'
'SIZELIN','0'
'SIZECOL','2'
'MARGIN','5x5'
'GAPCOL','5'
'GAPLIN','5'
'ALIGNMENTLIN','ATOP'
'ALIGNMENTCOL','ALEFT'

So iupAttribGetStr really doesn't seem to work reliably. It is a small bug
that I ran into that you might be interested in but what I am most interested
in, is getting the height of a component. Does anyone know an IUP function
that will do that?

Best Regards,

Andrew
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to