Textsize of label of copied btn changes

ELS Prothero prothero at earthlearningsolutions.org
Mon Oct 19 02:14:50 EDT 2020


Richard,
Yes, I realize that. However, when I first created the button, on the source card, I expected that the text size and font would be what was displayed in the ide. However, none were actually set. Confusing for one who trusts that the ide displays the actual properties of the object.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Oct 18, 2020, at 9:26 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Check the card properties.
> 
> All evidence reported to date is fully explained by the textFfont being set on the source card.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> 
> 
> William Prothero wrote:
>> 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