Re: Can We Position the Label/Name of a Button

2018-12-04 Thread Richmond via use-livecode

Well, that'll push your button name/label right or left, but ti won't
allow you to place it in all the places where you can position an icon.

Richmond.

On 4.12.18 г. 22:34 ч., Klaus major-k via use-livecode wrote:

Hi Swami


Am 04.12.2018 um 21:01 schrieb Sannyasin Brahmanathaswami via use-livecode 
:

See: http://wiki.hindu.org/screenshots/button-label-center.png
Syntax
set the iconGravity of button to position
Summary
Specifies wether the icon of a button is placed independently of the
label.
[#type in the entry: wether}
True, setting iconGravity does place the loc of the icon within the boundaries+ 
margins of the button.

But also implied it discretionary placement of the label/name (if showName  is true) . 
But I can't find any way but "centered".. What am I missing? This is such a 
basic feature I would thought it was introduced in LC 2.0

did you take a look at the "Text" tab in the inspector for your button and set the 
textalign to something else than "center" (default)? :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Can We Position the Label/Name of a Button

2018-12-04 Thread Mike Kerner via use-livecode
have you tried setting the textAlign?

On Tue, Dec 4, 2018 at 3:02 PM Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com> wrote:

> See:
>
> http://wiki.hindu.org/screenshots/button-label-center.png
>
> Syntax
> set the iconGravity of button to position
> Summary
> Specifies wether the icon of a button is placed independently of
> the
> label.
>
> [#type in the entry: wether}
>
> True, setting iconGravity does place the loc of the icon within the
> boundaries+ margins of the button.
>
> But also implied it discretionary placement of the label/name (if
> showName  is true) . But I can't find any way but "centered".. What am I
> missing? This is such a basic feature I would thought it was introduced in
> LC 2.0
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Can We Position the Label/Name of a Button

2018-12-04 Thread Richmond via use-livecode
Well, you can fiddle around with topMargin and bottomMargin, but that 
also affects

icon positions.

Richmond.

On 4.12.18 г. 22:01 ч., Sannyasin Brahmanathaswami via use-livecode wrote:

See:

http://wiki.hindu.org/screenshots/button-label-center.png

Syntax
set the iconGravity of button to position
Summary
Specifies wether the icon of a button is placed independently of the
label.

[#type in the entry: wether}

True, setting iconGravity does place the loc of the icon within the boundaries+ 
margins of the button.

But also implied it discretionary placement of the label/name (if showName  is true) . 
But I can't find any way but "centered".. What am I missing? This is such a 
basic feature I would thought it was introduced in LC 2.0

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Can We Position the Label/Name of a Button

2018-12-04 Thread Klaus major-k via use-livecode
Hi Swami

> Am 04.12.2018 um 21:01 schrieb Sannyasin Brahmanathaswami via use-livecode 
> :
> 
> See: http://wiki.hindu.org/screenshots/button-label-center.png
> Syntax
>   set the iconGravity of button to position
> Summary
>   Specifies wether the icon of a button is placed independently of the
> label. 
> [#type in the entry: wether}
> True, setting iconGravity does place the loc of the icon within the 
> boundaries+ margins of the button. 
> 
> But also implied it discretionary placement of the label/name (if showName  
> is true) . But I can't find any way but "centered".. What am I missing? This 
> is such a basic feature I would thought it was introduced in LC 2.0

did you take a look at the "Text" tab in the inspector for your button and set 
the textalign to something else than "center" (default)? :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Can We Position the Label/Name of a Button

2018-12-04 Thread Sannyasin Brahmanathaswami via use-livecode
See:

http://wiki.hindu.org/screenshots/button-label-center.png

Syntax
set the iconGravity of button to position
Summary
Specifies wether the icon of a button is placed independently of the
label. 

[#type in the entry: wether}

True, setting iconGravity does place the loc of the icon within the boundaries+ 
margins of the button. 

But also implied it discretionary placement of the label/name (if showName  is 
true) . But I can't find any way but "centered".. What am I missing? This is 
such a basic feature I would thought it was introduced in LC 2.0

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode