Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 18th November 2001, 14:06   #1
Koi
Junior Member
 
Join Date: Nov 2001
Location: Belgium
Posts: 2
Question How do you center a layer?

I'm working on the layout for the components, and there is this image that I want to use as a frame for the titlebar, but I have no idea how I can make sure it's always centered in the window. Any tips?
(attachment is a screenshot of what's wrong)

Comments on my (Fray) skin in progress are also welcome of course:

http://users.pandora.be/Great/Fray/

Thanks!
Attached Images
File Type: jpg component.jpg (17.9 KB, 83 views)
Koi is offline   Reply With Quote
Old 18th November 2001, 15:39   #2
nIRV
Senior Member
 
Join Date: Dec 2000
Posts: 156
you can't center anything yet, but pre-beta2 builds support it so just wait one week or two... it'll be cool

peace
nIRV is offline   Reply With Quote
Old 18th November 2001, 16:49   #3
Koi
Junior Member
 
Join Date: Nov 2001
Location: Belgium
Posts: 2
That's great, thanks!
Koi is offline   Reply With Quote
Old 19th November 2001, 17:32   #4
Brennan
Monkey Hump Master
 
Brennan's Avatar
 
Join Date: Apr 2000
Posts: 782
beta2 won't have built-in centering most likely, but a later build will. Until then, I wrote this little centering script that centers a Layer on a Layout.


--Brennan
Attached Files
File Type: zip centerlayer.zip (611 Bytes, 34 views)
Brennan 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