Labels of button not aligned

      Label of the button does not align properly.It is near to top of the button.How to move the text down ?

local button = widget.newButton({ id = i, label = " "..i, labelColor = {default = {1}, over = {0.5}}, font = "b.ttf", fontSize = w/14, labelYOffset = -10, defaultFile = 'l2.png', overFile = 'l1.png', width = w/10, height = w/10, x = x \* spacing, y = 32 + y \* spacing + 87, onRelease =levelSelect, })

I put a space before “i” to move the label slightly right.But even before that,label is slightly on the upper side of button

Can you please create a zip file that includes: 

  • b.ttf
  • l2.png
  • l1.png

and attach it here?

  1. Click ‘more reply options’

  2. Do this:

attaching_files.jpg

I would look at this:

labelYOffset = -10,

and take the space off.

Rob

Thanks RG & Rob…

lableYOffset=0 and it works

Can you please create a zip file that includes: 

  • b.ttf
  • l2.png
  • l1.png

and attach it here?

  1. Click ‘more reply options’

  2. Do this:

attaching_files.jpg

I would look at this:

labelYOffset = -10,

and take the space off.

Rob

Thanks RG & Rob…

lableYOffset=0 and it works