> Le 5 janv. 2017 à 19:25, Chip Scheide <[email protected]> a écrit :
>
> Arnaud,
> I [...] made a small modification to include adjusting the row height as well
> to
> correspond the change in font size.
Hi Chip,
see the "unit" parameter:
LISTBOX Get rows height ( {* ;} object {; unit} )
Before v13, rowheight was always expressed in pixels (fixed); v13 introduced
"related to text height" (automatic). I think it is better to read and and act
according to this parameter:
• fixed
rowHeight:=int(fontHeight*1,2) //example I use
• automatic
change rowHeight only, rowheight follows.
--
Arnaud de Montard
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************