Posted By: hopfel
troubles with scale_x & scale_y - 08/17/10 22:16
Hi dear community,
I feel a bit discouraged because I'm to stupid to scale a panel the right way. o.0
I used this little code in one of my functions in my script:
But this happened ingame to my 16*16 panel:
The border should be constant, but here it's deformed.
And it's really just the border, the middle of the panel is scaled right.
This happens with other panels too. I really don't know what the problem could be like...
Anyone an idea?
I feel a bit discouraged because I'm to stupid to scale a panel the right way. o.0
I used this little code in one of my functions in my script:
Code:
my_panel.scale_x=12; my_panel.scale_y=12;
But this happened ingame to my 16*16 panel:
The border should be constant, but here it's deformed.
And it's really just the border, the middle of the panel is scaled right.
This happens with other panels too. I really don't know what the problem could be like...
Anyone an idea?