osx - How to create custom toolbar in OS X? -
i trying below effect in os x.
i found out first step create custom toolbar, hide window title.
i have managed hide window title new os x development not sure how create custom toolbar.
here effect trying create (toolbar search field , maybe buttons).
you can customize toolbar in interface builder. click on toolbar
have dragged window
. can remove items in there , add ones have. can add textfields
, buttons
custom views
.
add items dragging them object library "allowed toolbar items" section. there, drag them "default toolbar items" section. otherwise control available user, not in toolbar until customizes it.
you can align controls using space , flexible space objects can found in objects library of xcode.
aligning controls works via drag , drop.
to center controls, add flexible spaces left , right of control.
Comments
Post a Comment