Textsize of label of copied btn changes

William Prothero waprothero at gmail.com
Sun Oct 18 18:13:53 EDT 2020


Richard:
I found that when I created a button, the textsize property had not been set, even though the IDE showed it to be 13. I then went to the IDE to click the size up to `4, then back down to 13 and then, when I did:
put the texsize of btn “mybutton”, it showed the textsize correctly.

It’s just one of those frustrating mysteries one encounters. The copied btn textsize was probably picking up the textsize from the fields that I had already imported.

I’d have to call it a bug, I guess??

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a textSize specified for the card it came from but not the card it was pasted in, that would govern all controls that do not have their own testSize property explicitly set.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list