Your Universal Remote Control Center
RemoteCentral.com
RTI Control Systems Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Resizable Bitmaps and Buttons
This thread has 1 response. Displaying all posts.
Post 1 made on Thursday February 13, 2020 at 12:26
joshuabrand
Junior Member
Joined:
Posts:
February 2020
1
Hello,

Does anyone know how to save a Bitmap and/or Button that allows for it to be resized/scalable within APEX designer?

I can see a few buttons within the default theme have a re-sizable icon but want to be able to save my own like this. All help appreciated.

Thanks,
Josh!
Post 2 made on Tuesday May 5, 2020 at 15:43
gwstudios
Senior Member
Joined:
Posts:
June 2004
1,290
Well, there are several types of scalable graphics that Apex supports, depending on the formatting you used when you created the 9-Slice .png files.

Any normal non 9-Slice button .png you bring in will scale, but will keep its aspect ratio. In other words, it if is 500 x 500 pixels, it will always be square at any size, and it will never go larger than its native size. This is called stretch aspect.

Then there is full stretch. It will expand in both the X and Y axis to any size, but will become blurry and start to look very odd the more you go outside the normal aspect.

Then there is true 9-Slice. This is the option you want to use if you had a button with 4 rounded corners (for example) and wanted to it to stretch infinitely, but the corner radii remain unchanged.

You set all of these by adjusting the definitions in a 1 pixel border around the original button. It takes some practice, and RTI does have some documentation on this.

I only used full stretch for one particular set of graphics I created. Everything else is aspect or true 9-slice. There is also a free 9-Slice button creator. I'll post the link if I can find it. I create all my scalable graphics manually, however.

Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse