Text aligned to center

11 views
Skip to first unread message

guyi...@gmail.com

unread,
Jan 23, 2016, 9:05:05 AM1/23/16
to Protocoder
Hello!!

I am trying to add a label/text aligned to the center but I am not able to... It has to be simple, but I can't arrive to it.

I am trying the following...

sw = ui.screenWidth;
var alarmTime = ui.addText("00:00:00", 10+0.61*sw, 260, 0.39*sw-20, 1*180/5).center("default");


Can anyone help me?

Thank you very much!!

Víctor Díaz

unread,
Sep 25, 2016, 1:26:03 AM9/25/16
to Protocoder
sorry for the huge delay :) 
aligning methods will come in the next release

Cheers!
Reply all
Reply to author
Forward
0 new messages