If you want it to look exactly the same go back to NowPlayingApplet.lua
and change the line you just altered to ARTWORK_SIZE = 154.
To keep the progress bar from moving around you have to open
/usr/share/jive/applets/DefaultSkin/DefaultSkinApplet.lua and find the
progress bar layout around line 1400. Change the padding for the text
and bar to be the same for ss and browse:
Code:
--------------------
-- Progress bar
local progressBackground =
Tile:loadHTiles({
npimgpath .. "progressbar_bkgrd_l.png",
npimgpath .. "progressbar_bkgrd.png",
npimgpath .. "progressbar_bkgrd_r.png",
})
local progressBar =
Tile:loadHTiles({
npimgpath .. "progressbar_fill_l.png",
npimgpath .. "progressbar_fill.png",
npimgpath .. "progressbar_fill_r.png",
})
s.ssprogress = {}
s.ssprogress.position = LAYOUT_SOUTH
s.ssprogress.order = { "elapsed", "slider", "remain" }
s.ssprogress.text = {}
s.ssprogress.text.w = 50
s.ssprogress.padding = { 8, 0, 8, 25 }
s.ssprogress.text.padding = { 8, 0, 0, 25 }
s.ssprogress.text.font = Font:load(fontpath .. "FreeSansBold.ttf", 12)
s.ssprogress.text.fg = { 0xe7,0xe7, 0xe7 }
s.ssprogress.text.sh = { 0x37, 0x37, 0x37 }
-- browse has different positioning than ss windowStyle
s.browseprogress = _uses(s.ssprogress,
{
padding = { 8, 0, 8, 25 },
text = {
padding = { 8, 0, 0, 25 }
}
}
)
s.ssprogressB = {}
s.ssprogressB.horizontal = 1
s.ssprogressB.bgImg = progressBackground
s.ssprogressB.img = progressBar
s.ssprogressB.position = LAYOUT_SOUTH
s.ssprogressB.padding = { 0, 0, 0, 25 }
s.browseprogressB = _uses(s.ssprogressB,
{
padding = { 0, 0, 0, 25 }
}
)
--------------------
--
Skunk
http://www.last.fm/user/TheSkunk/
------------------------------------------------------------------------
Skunk's Profile: http://forums.slimdevices.com/member.php?userid=2685
View this thread: http://forums.slimdevices.com/showthread.php?t=53214
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive