Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[ALLY] Determining Pixel size of font Re:

From: agem:crosswinds at: 16-Aug-2000 16:31

Not so used with faces, but - make a separate wide layout with your stuff and vid and look at its offsets? normaly lots of auto-space, but padding can be changed? Hey, now i have questions :) (ah. one tool is 'size-text i read :) and - how can i embed an already layout face like measure-this in another layout? can't remember. THE DEMO [rebol[title:"text sizes"] as short as measure-this: layout [ across label "a" a: label "short" label "string" label "for you" ] probe size-text a or a bit longer: measure-this: layout ;demonstrate label uses text size, not like fixed-button [ across label "a" a: label "short" label "string" label "for you" return label "a" b: label "and another very long" label "string" label "for you" ] view/new measure-this view/new layout [ across label a/text label to string! size-text a return label b/text label to string! size-text b ] do-events ] Volker