Hi
What's affect a control size when it has a skin applied?Because sizes of skinned and unskinned the same control are not equal
Lets assue a situation:
I have a button described by rect (x,y,w,h),and I'd like to draw a box around it distanced by l each side.Then the box's rect shoud be defined like (x-l,y-l,w+2*l,h+2*l).
Well,above works as expected only if both button and box have no custom skin.When I apply my own,then suprisingly the button is larger than the box :O
↧