开发者

How to set NSToggleButton to start in state 0 from Interface Builder?

开发者 https://www.devze.com 2022-12-16 21:06 出处:网络
How can I in Interface Builder set NSButton of type toggle with Title and Alt.Title to start with the Title (e.g. the state 0)?

How can I in Interface Builder set NSButton of type toggle with Title and Alt.Title to start with the Title (e.g. the state 0)?

The moment I set the but开发者_开发技巧ton as toggle and set the Alt.Title it displays Alt.Title in View and I can't find the option to set it to start in the 'default' state (state 0).

I could set it pragmatically but is there an option to set it in IB?

I've solved it before but forgot how.


Does unchecking the "state" checkbox not work for you? That should be all it takes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号