segmentedControl size

Im messing with segmented buttons, problem is the image sheet im using to customize it is pretty big and doesnt fit right:
image

Changing the segmentFrameWidth/Height doesnt seem to be helping, sometimes it changes the size sometimes not. Any help is appreciated.