About Store Forum Documentation Contact



Post Reply 
[Solved] Progress Bar cannot change to R to L from recent update
Author Message
SamNainocard Offline
Member

Post: #1
[Solved] Progress Bar cannot change to R to L from recent update
Quote:-Progress bar will now be displayed as vertical if its height is greater than the width

I reversed a progress bar to make it 1..0 instead of 0..1 (by swapping rect.min.x and rect.max.y, so it's like min.x=-1 and max.x=0) for my game.

Because of update, it become vertical bar instead, swapping min.y and max.y only reverse from down to top to top to down.

Swapping back color and progress color is work, however in my game I have stack up the progress bar and use background as transparent.

Can progress bar become horizontal by forced or detect if width is less than height if negative?

PS: Not sure to post on Support or Feature Request.

Thank you in advance.
(This post was last modified: 06-05-2012 06:48 PM by SamNainocard.)
06-05-2012 12:19 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Progress Bar cannot change to R to L from recent update
I recommend you just extend the virtual draw method, and draw things manually, using Image::drawPart
06-05-2012 12:24 PM
Find all posts by this user Quote this message in a reply
SamNainocard Offline
Member

Post: #3
RE: Progress Bar cannot change to R to L from recent update
I see, I'll give it a try.
06-05-2012 12:30 PM
Find all posts by this user Quote this message in a reply
Post Reply