hi
yes i seen that example
How can I repeat only middleFrame?
[lua]local options = {
frames =
{
{ x=0, y=0, width=22, height=82 },
{ x=22, y=0, width=1, height=82 },
{ x=178, y=0, width=22, height=82 }
},
sheetContentWidth = 200,
sheetContentHeight = 82
}
local buttonSheet = graphics.newImageSheet( “green.png”, options )
– Create the widget
local button1 = widget.newButton(
{
width = 60,
height = 82,
sheet = buttonSheet,
middleLeftFrame = 1,
middleFrame = 2, – repeat for fill middle button
middleRightFrame = 3,
label = “button”
}
)[/lua]
not repeat middleFrame
how can i say repeat middleFrame?