INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: New Style Matrix Skinning  (Read 898 times)

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
New Style Matrix Skinning
« on: December 12, 2006, 04:25:10 pm »

I think the New (and possibly the old) Style Matrix stuff for skinning
could really do with some nice pictures to make it more
easy to understand.
I'm trying to use it for these scrollbar handles
and just getting myself very confused!


In the vertical scrollbar handle above you can see the handle itself can be comprised of 5 vertical sections.
The top 5 pixels should never stretch.
The next 18 odd pixels should stretch...
then the handle itself, which is about 9 pixels
then 18 again
then 5 again.

Then I have this xml statement which looks something like
Rows="5,?-Flex,,,?-Flex,5"
With something between the the commas...
I'm just not sure what?  ::)
Help?!  I've never got on well with Matrices!

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: New Style Matrix Skinning
« Reply #1 on: December 12, 2006, 04:56:23 pm »

OK If I'm reading this right...
the following should work
 Rows="10,?-Flex,10,?-Flex,10" />

However... it still can create handles which are too small.
Like this one:


The bits  that weren't supposed to flex, have Flexed.  ?

Edit:
Ah I see it's kind of one of those laws of mathematics.
You can't have a minimum size of handle else the whole thing just
wouldn't work! OK alls good  :)
Pages: [1]   Go Up