Old 21st May 2006, 05:19   #1
clausthomsen
Junior Member
 
Join Date: May 2006
Posts: 3
Button disappear out of area

Hi

I am new to winamp design, so I have downloaded the winamp test file skinsampel and tried to play around with this. however I hav now a problem that I can not solve. I have tried to make some big buttons but when I move them around the screen it seems that they disappear out of the showing area, I can see the whole background area but it is like I only have the original size window to show the buttons and text filed in.
I have enclosed a zip file containing the whole project (not big) I assume that I need to insert something in the player.xml file but I am not sure what. the zip file also include a screen dump of how it looks now.

Hope some one can help out, so I can continiue to learn.

ciao
Claus
Attached Files
File Type: zip skinsampelct.zip (86.9 KB, 373 views)
clausthomsen is offline   Reply With Quote
Old 21st May 2006, 08:31   #2
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,098
Moved from classic skin forum
Moved to Modern skin forum
Mr Jones is offline   Reply With Quote
Old 21st May 2006, 09:32   #3
TheElusiveMelon
Senior Member
 
TheElusiveMelon's Avatar
 
Join Date: Feb 2005
Location: Kent, England
Posts: 350
You can only place objects on the main background unless you add the parameter sysregion="1". That should mean the buttons will show up anywhere on the screen.

<button id="button1" ....

...button code here...

...sysregion="1"

</button>
TheElusiveMelon is offline   Reply With Quote
Old 21st May 2006, 10:01   #4
NickMikh
Member
 
NickMikh's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 90
Send a message via ICQ to NickMikh Send a message via Yahoo to NickMikh
I'm not sure, but I think that groups have some default width and height.
Try to use relatw

<group id="player.normal.playbuttons" x="12" y="85" relatw="1" w="0"/>
NickMikh is offline   Reply With Quote
Old 21st May 2006, 11:00   #5
Guest232
Guest
 
Posts: n/a
Yes groups have a default width/height, but most of the times the defaults suffice. I believe it's 300×200 but I'm not sure since I rarely use groups. This skin is so large that you need to set a w and h value on the <groupdef>.

Example:
<groupdef id="player.normal.playbuttons" name="Player buttons" w="558" h="478">

Relatw will indeed also work, if you know how to use it.
  Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump