[RPG]Label button textalign:center with specifying width
Posted: Tue Jan 30, 2018 4:25 pm
Hi,
I'm using a label element with Onclick property so that I can use it as a button.
I have set Layout.Width: 100 as well as Layout.cols: -1 and Textalign: center, and I thought it would result as follows; However the result is as follows; How can I acheieve what I expect (the first pic)?
I appreciate your kind advice.
Best Regards,
Megumi Sawada
I'm using a label element with Onclick property so that I can use it as a button.
I have set Layout.Width: 100 as well as Layout.cols: -1 and Textalign: center, and I thought it would result as follows; However the result is as follows; How can I acheieve what I expect (the first pic)?
Code: Select all
5 20HTML('<<LBLBTN>>
Type : LABEL
BACKCOLOR: BLUE
COLOR:WHITE
TEXT : Push
LAYOUT.COLS: -1
LAYOUT.WIDTH : 100
TEXTALIGN: CENTER
ONCLICK: BTN1CLK
')
Best Regards,
Megumi Sawada