As you can see the confirm button is cut of by the drawable space, is it possible to modify the height and width of wathUi.Text?
Thanks.
using Toybox.Graphics as Gfx;
using Toybox.System as Sys;
using Toybox.WatchUi as Ui;
var title = new Ui.Text({
:text=>"8888888",
:locX=>Ui.LAYOUT_HALIGN_CENTER,
:locY=>Ui.Layout_VALIGN_CENTER,
:color=>Gfx.COLOR_WHITE,
:font=>Gfx.FONT_LARGE
});
var races = ["5", "10", "15", "25", "Other"];
Picker.initialize({
:title=>title,
:pattern=>[
new WordFactory(words, {})
],
:defaults=>[
0
],
:confirm=> new Ui.Text({
:text=>"OK",
:locX =>Ui.LAYOUT_HALIGN_CENTER,
:locY=>Ui.LAYOUT_VALIGN_CENTER,
:color=>Gfx.COLOR_WHITE,
:font=>Gfx.FONT_LARGE
})
});