Page 1 of 1
Scale Factor
Posted: Tue May 03, 2016 12:57 am
by RossG
Is it possible to set the scale factor to
a number that's not available in those which
are pre-set in the Inspector?
Re: Scale Factor
Posted: Tue May 03, 2016 2:44 am
by dunbarx
Hi.
Certainly.
Code: Select all
set the scaleFactor of stack "yourStack" to 0.9356
Craig Newman
Re: Scale Factor
Posted: Thu May 05, 2016 10:12 pm
by RossG
Craig
Works OK except that even though I only reduced
the scale from 1 to 0.9 all the line thicknesses were
changed from 2 to 1 which is inconvenient to say
the least.
Re: Scale Factor
Posted: Thu May 05, 2016 10:53 pm
by dunbarx
Hi.
I do not think that a message is sent when the scaleFactor is changed, so you will have to manage this yourself. When you change the property, select a lineSize that is appropriate, and loop through all controls that are in play.
Craig
Re: Scale Factor
Posted: Sun May 15, 2016 1:20 am
by RossG
Thanks dunbarx.
Thanks dunbarx.
Re: Scale Factor
Posted: Thu Jul 07, 2016 1:24 am
by RossG
I've been trying to scale a stack and even though
it appears in its new size in the IDE after I save
it and re-open it it appears at the original scale.
LC 7.1.2