|
|
#1 |
|
Junior Member
Join Date: Mar 2001
Posts: 6
|
I use groups for my skin.
I just place the groups in the container, but when I load my skin there's a problem: From a height of 200 nothing is clickable. It's even worse: from about this height pictures are cut in half, so if I place a picture at h="190", it can be seen from 190-200, but from 200 it's not visible. I've tried default_w="300" and default_h="300", w="300" and h="300" already! What am I doing wrong? |
|
|
|
|
|
#2 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
whats the size of ur bg image that u used in the layout definition? cause if its only 200 then nothing else will go in. also u gotta make sure that the layout size is also bigger than the image u want. if u want a little bit more help just post ur xml code and it'll be easier to tell.
-matt |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2001
Posts: 6
|
OK, here's my skin.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <WinampAbstractionLayer version="0.8"> <skininfo> <version>1.0</version> <name>Winamp 3.0 Siemens M55 skin</name> <comment>Winamp 3.0 Siemens M55 skin</comment> <author>Joris Illusions</author> <email>JorisIllusions@hotmail.com</email> <homepage>http://www.student.tue.nl/U/j.j.r.v.d.eerden</homepage> <screenshot>skinshot.png</screenshot> </skininfo> <elements> <bitmap id="M55.base" file="gfx/base.png" /> <bitmap id="M55.Num50" file="gfx/Num50.png" /> <bitmap id="M55.Num51" file="gfx/Num51.png" /> </elements> <groupdef id="M55.Buttons" name="Buttons"> <button action="PAUSE" x="68" y="247" image="M55.Num50" downimage="M55.Num51" tooltip="Pause" /> </groupdef> <container id="main" name="M55 Main Window" h="335" w="173"> <layout id="normal" background="M55.base"> <group id="M55.Buttons" /> </layout> </container> </WinampAbstractionLayer> Just to be sure: My base.png's size is 173x225 (wxh) |
|
|
|
|
|
#4 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
yeah its ur base.png thats the problem. all stuff below 225 pixels won't get counted cause as u know winamp still is bound in a rectangle (even tho u can have transparencies to make it not look like it), so everything must be contained in that one rectangle. so what u can do is just make the base.png's height about another 100/150 pixels bigger and then that will solve the problem. hope this helps. if u got n e more questions just post a reply.
-matt |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2001
Posts: 6
|
If I don't use a group, but simply place the button in the layout:
<container id="main" name="M55 Main Window" h="335" w="173"> <layout id="normal" background="M55.base"> <button action="PAUSE" x="68" y="247" image="M55.Num50" downimage="M55.Num51" tooltip="Pause" /> </layout> </container> the button will work. Why oh why does this work ?!? And by using groups it doesn't... |
|
|
|
|
|
#6 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
ur group doesn't work cause u haven't given it n e widths or heights. just add x="0" y="0" w="180" h="300" after u have defined the group and it will work also.
eg. code: hope it works now. -matt |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|