Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS
Apache License 2.0
849 stars 134 forks source link

UIBarButtonItem with Identifier #136

Open plandem opened 10 years ago

plandem commented 10 years ago

Well, before Pixate i used buttons with identifier (like 'Add', 'Save' and etc) at IB. With Pixate looks like i can't style such buttons, i have to set identifier for "Custom" and set 'fake text' like '+' at IB to be able to see it. But...after that i also have to set style for button and set empty text to remove that 'fake text'. Is it possible to use same way as IB using.

Current solution: bar-button-item.create { text: ""; } bar-button-item.create icon{ background-image: url(icon-create.svg); background-size: 24px; }

I would like to have: bar-button-item.create icon{ background-image: url(icon-create.svg); background-size: 24px; }

and use IB to set identifier for 'Add' for that button.