1

I need to make a row of buttons on the bottom of the screen placed on what looks like a toolbar . But it should have a custom look ie. custom background and hover effects . I initially tried to customise a CPSegmentedControl but couldnt adjust the height of it as it uses fixed height graphics . Now I'm looking at trying out a toolbar but cant figure out how to change the background texture of the toolbar as it seems to be fixed . So which API is best suited for this ?

Samhan Salahuddin
  • 2,140
  • 1
  • 17
  • 24

1 Answers1

0

This bit will change the CPToolBar background for you: https://github.com/cappuccino/issues/blob/master/Client/AppController.j#L273

If you want to customize the segmented control you can find code for that here: https://github.com/cappuccino/issues/blob/master/Client/AppController.j#L502

Me1000
  • 1,760
  • 1
  • 12
  • 14
  • But how do you increase the height of the segmented control ? If you change that it seems to break it. – Samhan Salahuddin Oct 31 '12 at 04:34
  • What I'm looking for is a set of custom buttons which have custom hover behaviour but they should act like a segmented control . Now I'll have to roll my own segmented control or try placing them on a toolbar. – Samhan Salahuddin Oct 31 '12 at 06:21
  • You would have to supply your own images to the segmented control. – Me1000 Oct 31 '12 at 23:34