Re: Textsize of label of copied btn changes

2020-10-19 Thread Richard Gaskin via use-livecode
ELS Prothero wrote: > Yes, if my memory doesn’t fail me, it was in italic. Hmmm, I guess I > was supposed to know that meant it wasn’t set and the value shown was > a default? Yes, more or less, though to be precise it's not so much default per se as inherited. As Jacque noted yesterday,

Re: Textsize of label of copied btn changes

2020-10-19 Thread Bob Sneidar via use-livecode
One of those gotchas that you learn once and never forget. It's really handy when you want to change the look and feel of an entire stack, or each card in a stack. It REALLY is handy when creating cross platform apps and you want to use one font for both Windows and Mac without having to change

Re: Textsize of label of copied btn changes

2020-10-19 Thread ELS Prothero via use-livecode
Richard, Yes, if my memory doesn’t fail me, it was in italic. Hmmm, I guess I was supposed to know that meant it wasn’t set and the value shown was a default? Best, Bill William Prothero http://es.earthednet.org > On Oct 18, 2020, at 11:38 PM, Richard Gaskin via use-livecode > wrote: > >

Re: Textsize of label of copied btn changes

2020-10-19 Thread Richard Gaskin via use-livecode
ELS Prothero wrote: > 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

Re: Textsize of label of copied btn changes

2020-10-19 Thread ELS Prothero via use-livecode
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.

Re: Textsize of label of copied btn changes

2020-10-18 Thread Richard Gaskin via use-livecode
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

Re: Textsize of label of copied btn changes

2020-10-18 Thread J. Landman Gay via use-livecode
If the text properties in the property inspector are italic, they are inheriting from another control with a lower layer, or inheriting from the IDE itself. If the property is not italic, it's been set specifically on the control. Regardless, there will always be a number in the text size. --

Re: Textsize of label of copied btn changes

2020-10-18 Thread William Prothero via use-livecode
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

Re: Textsize of label of copied btn changes

2020-10-15 Thread Richard Gaskin via use-livecode
William Prothero wrote: > After the button is copied to the destination card, I do: > > set the textsize of btnRef to the textsize of srcBtnRef > the contents of btnRef is: > > btn "doNext2" of card "WhatsTheMystery-2" of stack "/Users/AfilePath > /PlateTectonics.livecode" > > srcBtnRef is

Re: Textsize of label of copied btn changes

2020-10-13 Thread Mark Wieder via use-livecode
On 10/13/20 5:54 PM, William Prothero via use-livecode wrote: set the textsize of btnRef to the textsize of srcBtnRef Try set the textsize of btnRef to the effective textsize of srcBtnRef -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode

Re: Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
Richard: After the button is copied to the destination card, I do: set the textsize of btnRef to the textsize of srcBtnRef the contents of btnRef is: btn "doNext2" of card "WhatsTheMystery-2" of stack "/Users/AfilePath/PlateTectonics.livecode" srcBtnRef is pretty much the same thing with the

Re: Textsize of label of copied btn changes

2020-10-13 Thread Richard Gaskin via use-livecode
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

Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
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. I’m probably missing something, but ….. How do I change the textsize of the font