Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 10th September 2005, 22:03   #1
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
New to Skinning, need help with songticker

Hi I'm new to skinning(started last night) and I need help with the songticker text; it displays but only half of the text!! please help me, here's my code:
<text id="songticker" ticker="1" display="songname" default="" showlen="1" x="241" y="123" w="157" h="14" align="left" rightclickaction="trackmenu" font="font.default" fontsize="18" ghost="1" altfont="Arial"/>

and sorry if my English is bad..
Peace##
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 22:11   #2
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Are you sure that you didn'T simply miscalculate the width?... for reference, here's mine: Do you use relative placement for the group? That's usual the source of all troubles...
code:

<!-- Status Screen Background Layer Definition -->
<groupdef id="obj.skin.main.status" name="Player Background">
<text id="obj.skin.main.status.ticker" ticker="1" display="songname" default="" showlen="1" x="4" y="0" relatw="1" w="-8" h="30"
font="wasabi.font.default" fontsize="12"/>

<text id="obj.skin.main.status.format" ticker="1" display="songinfo" default="" x="4" y="26" relatw="1" w="-8" h="15"
font="wasabi.font.medium" fontsize="10" ghost="1" />

</groupdef>

hansschmucker is offline   Reply With Quote
Old 10th September 2005, 22:26   #3
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
No i even tried to paste in your code and it still doesn't work!! it's like something is over the half of the text!!
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 22:31   #4
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
could you post your entire xml... because this doesn't seem like a problem with the ticker, more like a problem with your overall layout... you can also send it to me via email... zodiachsx at gmail dot com then I'll upload it to my place, so it won't bloat up the post so much...
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 22:45   #5
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
ok have sendt u email now "zodiachsx at gmail dot com" right??
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 22:46   #6
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Yep, got it... for everybody else who wants to take a look at it, it's at
http://hansschmucker.free.fr/player.xml
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 22:50   #7
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Uh, one more request... could you send me a screenshot... I'm pretty new to this stuff as well (although not new to skinning and XML), and I can't simply imagine all those coords in my head
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 22:58   #8
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
can u help me with my problem?? then i'll give u a screenshot
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:04   #9
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Maybe... but it will certainly be of help for other people... to be fair, here's a screenshot of my first (resizable) skin:

The image is also a link to the alpha skin
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:08   #10
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
man that script of yours is just too much for me!!
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:12   #11
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
I've spend two evenings on it so far (including learning the basics of Winamp's XML format).

Anyway, have you tried resorting your objects to make sure nothing is covering you ticker

code:

<groupdef id="player" name="winamp">
<!-- Song info -->
<text id="timer" display="time" x="6" y="124" w="70" h="18" font="BIGNUM" fontsize="21"
align="right" timecolonwidth="7"/>
<vis id="vis" x="6" y="143" w="70" h="16"/>
<text id="Songticker" ticker="1" display="songname" default="" showlen="1" x="242" y="122" relatw="1" w="100" h="18"
font="font.default" fontsize="12"/>
<!-- Visualaization -->
</groupdef>

<!-- Main Window: Container and Layout -->
<container id="main" name="Main Window" default_x="0" default_y="0" default_visible="1">
<!-- First Layout -->
<layout id="normal" background="background" droptarget="pldr">
<group id="playbuttons" x="31" y="177"/>
<group id="mlpl" x="289" y="140"/>
<group id="player"/>
</layout>
</container>

hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:13   #12
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Ah, one more thing... it's a good habbit to specify width and height of each group you include, since sometimes Winamp screws up calculating the correct size
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:17   #13
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
nope. didn't work... here's a screenshot so u 2 can see my problem...
u see to the right there..?
Attached Images
File Type: jpg mb.jpg (16.1 KB, 57 views)
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:22   #14
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Hey, what's this doing here: relatw="1" w="100"
it would either have to say
relatw="0" w="100"
or
relatw="1" w="-51"
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:36   #15
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
ok,.. look at my screenshot.. u see the songinfo dosen't go all the vay over the black box u see.. how do i make it do that??
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:40   #16
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
That should do it:

<text id="Songticker" ticker="1" display="songname" default="" showlen="1" x="242" y="122" relatw="0" w="140" h="18"
font="font.default" fontsize="12"/>
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:43   #17
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
nope it dosen't do it!!!
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:49   #18
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Argh, there has to be something terribly obvious that I'm overlooking here...

The only other things I could imagine right now would be
<group id="player" w="392" h="211" />

If that doesn't work, then you'll have to wait for a more experienced guy to help you out..
hansschmucker is offline   Reply With Quote
Old 10th September 2005, 23:52   #19
Devil Dave
Junior Member
 
Join Date: Sep 2005
Location: No(r)way
Posts: 9
it worked Thanx
Devil Dave is offline   Reply With Quote
Old 10th September 2005, 23:58   #20
hansschmucker
Junior Member
 
Join Date: Sep 2005
Posts: 18
Told you, Winamp often messes up a group's size. Phew... took us quite a while to figure that one out
hansschmucker is offline   Reply With Quote
Reply
Go Back   Winamp 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