Quantcast
Channel: Latest Questions by MasterBLB
Viewing all articles
Browse latest Browse all 44

Skinned/unskinned GUI controls size differences

$
0
0
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

Viewing all articles
Browse latest Browse all 44

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>