Position the Label/Name of a Button

Paul Hibbert paul at livecode.org
Tue Dec 4 18:32:43 EST 2018


> On Dec 4, 2018, at 13:36, Richmond via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>> wrote:
> 
>  especially as that can easily be faked by using an image as a button.


But if you do need text for any reason, you can fudge it by putting returns before the text label to move it down, or after to move it up, and of course as already pointed out, use textAlign for Left, Centre or right.

Tested on a Mac (IDE & SA) only, no idea if this works on Win or Linux, not expected to work on Mobile and I doubt that it works with HTML5.

Paul

https://www.dropbox.com/s/2apq5km628oa43q/Buttons.png?dl=0 <https://www.dropbox.com/s/2apq5km628oa43q/Buttons.png?dl=0>





More information about the use-livecode mailing list