Nine slice VSCALE/HSCALE

GTT TFT Support

Moderator: Mods

Post Reply
dr21702
LCD!
Posts: 12
Joined: Mon Mar 23, 2009 9:35 am

Nine slice VSCALE/HSCALE

Post by dr21702 »

I have a nine slice image and file setup but when I tried removing the HSCALE keyword from the file it doesn't have any effect. The top middle portion always stretches instead of repeating when displayed using the display nine-slice command FE 91.

I also tried experimenting with different TRANS-R, TRANS-G, and TRANS-B value but did not see any difference.

Is there a particular scenario in which these apply?

Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Re: Nine slice VSCALE/HSCALE

Post by Raquel »

Hello dr21702,

Thank you for posting on the forum.
If you please email your 9-slice file and the bitmap and I will check here.
support@matrixorbital.ca

-Raquel
Raquel Malinis
Design and Development
Matrix Orbital

dr21702
LCD!
Posts: 12
Joined: Mon Mar 23, 2009 9:35 am

Re: Nine slice VSCALE/HSCALE

Post by dr21702 »

Test files are attached. From the documentation, leaving out HSCALE should make the top center with orange boxes tile instead of stretching and white should be transparent.
Attachments
TestNineSlice1.txt
(105 Bytes) Downloaded 119 times
TestNineSlice1.png
TestNineSlice1.png (1.34 KiB) Viewed 8484 times

Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Re: Nine slice VSCALE/HSCALE

Post by Raquel »

Hello dr21702,

What you are observing is correct.
There is no implementation of tiling for the 9slices currently.
I will see what I can do to request to have this implemented.

Thank you,
Raquel
Raquel Malinis
Design and Development
Matrix Orbital

Post Reply