NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 71 72 73 74 75 … 93 Next »
Newbie to skins

 
  • 0 Vote(s) - 0 Average
Newbie to skins
Clanky
Offline

Senior Member

Posts: 276
Threads: 57
Joined: Dec 2004
#1
2005-05-20, 02:07 PM
I thought I would have a poke around & modify some skins to see how they work, but I'm not sure how the size dimensions work in the following lines from the standard Blue skin

<CompositeImage name="NormalButtonImage" size="166,45">
<DrawRoundedRect loc="4,5" size="155,30" radius="10"

What does the 166,45 size refer to when the image is sized to 155,30?
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#2
2005-05-20, 02:15 PM
in simple words, this means, that a rectangle of 166x45 pixel is reserved for the button. in this case, the rounded rectangle begins 4 pixels from the left of the rectangle and 5 pixels from the top of the rectangle.

the size of the composite image gives the total size of the element. the inner elements (images, rounded rectangles and so on) are placed relative to the composite image. you can place various elements inside a composite image.
---------------------
www.sitecomposer.de
Clanky
Offline

Senior Member

Posts: 276
Threads: 57
Joined: Dec 2004
#3
2005-05-20, 02:21 PM
Ah, I see, thankyou Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Absolute newbie trying to realize an idea - where to start? Oopsjoppe 13 5,822 2013-11-11, 05:33 PM
Last Post: Oopsjoppe
  Skins. Grrr. Argh. imilne 41 13,119 2011-08-20, 02:28 AM
Last Post: Northpole
  Skins - sizes of fonts and UI objects etc? bgowland 4 2,131 2011-08-12, 04:05 AM
Last Post: sub
  New to skins development dspdrew 1 1,392 2010-10-24, 11:22 AM
Last Post: sub
  Positioning of elements in skins (...and some other questions) ShiningDragon 13 4,517 2010-07-22, 06:42 PM
Last Post: ShiningDragon
  Plugins and skins mvallevand 6 2,468 2010-01-21, 02:09 AM
Last Post: mvallevand
  Trying to understand skins mkenyon2 1 1,392 2009-01-05, 10:03 PM
Last Post: psycik
  Newbie Dev Question Sentient 2 1,522 2009-01-01, 05:11 PM
Last Post: bgowland
  Transparency in skins Kevl 4 2,154 2007-10-30, 01:07 AM
Last Post: Kevl
  xrecord ME style skins? chrisw 20 6,316 2007-01-14, 04:33 PM
Last Post: _Dude_

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode