Re: [MBS] CustomNSToolbarMBS and NSSegmentedControlMBS question
Hi Christian, thanks for your reply Il giorno 04/dic/2014, alle ore 22:32, Christian Schmitz supp...@monkeybreadsoftware.de ha scritto: 1) In the example the labels under the buttons are not selectable, and in fact if the user chooses to personalize the toolbar not showing the icons, but only the text, they don’t work, and clicking on an item results only on the toolbar returning to a full ( icons + text ) visualization. The example as it is may now support that. The toolbar there is full of segmented controls which don't work as pure text. I see, but also the play button, that is a single button, does not work in only-text mode as it should 2) the second problem is somewhat related but regarding a NSSegmentedControlMBS, in the example there is a single label under the segmented control. But if you see for example the Mail app segmented control 'answer-answer to all-forward', it has 3 distinct and clickable labels, that would be useful ( once resolved problem #1 ) to have a fully functional menu also in only-text view mode That may be a NSToolbarItemGroup. I can put NSToolbarItemGroup class on my todo list and maybe add it this week. that would be fantastic, thank you! Giulio Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS
Am 02.05.2013 um 20:45 schrieb Christian Schmitz supp...@monkeybreadsoftware.de: Do you have the version of that example which has return true in validate event in MyNSToolbarItemMBS class? Ah, no, I had the examples that came along with 12.5. Returning true in that event does indeed fix the problem, thanks! Maximilian Tyrtania http://www.contactking.de ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
[MBS] CustomNSToolbarMBS
Hi, I'm having a problem with CustomNSToolbarMBS in my project - sometimes my buttons would all show up disabled for reasons beyond me after a NSToolbarButton executed its Action event. So I humbly opened the Toolbar customized-example (Examples/Cocoa/Toolbar customized) only to see that the problem exists in that project as well (just hit any of the three buttons in a debug build and you'll see). Any pointers? Maximilian Tyrtania http://www.contactking.de ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS
Am 02.05.2013 um 17:14 schrieb Maximilian Tyrtania li...@contactking.de: Hi, I'm having a problem with CustomNSToolbarMBS in my project - sometimes my buttons would all show up disabled for reasons beyond me after a NSToolbarButton executed its Action event. So I humbly opened the Toolbar customized-example (Examples/Cocoa/Toolbar customized) only to see that the problem exists in that project as well (just hit any of the three buttons in a debug build and you'll see). Any pointers? Do you have the version of that example which has return true in validate event in MyNSToolbarItemMBS class? latest beta (15) of the product we're not supposed to mention. I tried that, too. And I think everyone knows here on the list what you use. Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
Am 14.04.2013 um 06:33 schrieb Osswald Oliver mailbox...@buddhism.edu: I just installed plugins 13.1pr13 and CustomNSToolbarMBS.allowsSizeMode event is not listed. The event is there for me. And other events seem to have disappeared as well - I cannot catch keyUp in CustomNSSearchFieldMBS anymore. We run into this issue regularly, after plugin updates: Is there a way you could make sure that those custom classes are not getting lost on the way? Well, I optimized constructors. And I forgot the little difference there. I'll fix that now. Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
I just installed plugins 13.1pr13 and CustomNSToolbarMBS.allowsSizeMode event is not listed. (I did clear cache of IDE 13.1b13 before restarting with the new plugins) And other events seem to have disappeared as well - I cannot catch keyUp in CustomNSSearchFieldMBS anymore. We run into this issue regularly, after plugin updates: Is there a way you could make sure that those custom classes are not getting lost on the way? Regards, Oliver On 09.04.2013, at 11:05, Christian Schmitz supp...@monkeybreadsoftware.de wrote: Am 09.04.2013 um 08:10 schrieb Osswald Oliver mailbox...@buddhism.edu: I add an event allowSizeMode. You can use it like this to get rid of small mode: I'm stuck with this : where do I find this event handler? I'm using CustomNSToolbarMBS … You need a new plugin which has that event there. Greetings Christian ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
I add an event allowSizeMode. You can use it like this to get rid of small mode: I'm stuck with this : where do I find this event handler? I'm using CustomNSToolbarMBS ... ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
The selector name is: toggleUsingSmallToolbarIcons: I also add two methods to find it easier: itemWithSelector(selector as string) as NSMenuItemMBS indexOfItemWithSelector(selector as string) as integer Thanks a lot, works like a charm ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
[MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
I'm using CustomNSToolbarMBS based on this example project : http://www.monkeybreadsoftware.net/example-cocoa-toolbarbuttons-toolbarbuttons.shtml This toolbar comes with a context menu 'Use small size', which in my case results in somewhat squashed looking icons. I want to entirely remove this menu option and not allow for using small toolbar icons. How can I remove that menu option (and in this context: how does one add menu options to the toolbars context menu?) Oliver ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
Thanks, the test plugin works! With this code I can now hide the small size menuitem from the toolbar menu: // Hide Small Size Option of Menu Dim v As NSViewMBS = Self.NSWindowMBS.toolbarView Dim m As NSMenuMBS = v.menu Dim i As NSMenuItemMBS = m.Item(5) // use small size i.isHidden=True However: On the CustomizeToolbar Window, there is also a checkbox Use small size. Is there a way I can get rid of it as well? Oliver ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
Le 8 avr. 2013 à 17:33, Osswald Oliver a écrit: With this code I can now hide the small size menuitem from the toolbar menu: // Hide Small Size Option of Menu Dim v As NSViewMBS = Self.NSWindowMBS.toolbarView Dim m As NSMenuMBS = v.menu Dim i As NSMenuItemMBS = m.Item(5) // use small size i.isHidden=True What if, on another OS version or configuration, the item 5 is another one? Your code could break. ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] CustomNSToolbarMBS : Remove 'use small size' from context menu?
Am 08.04.2013 um 20:38 schrieb Marnaud anic...@mac.com: Dim i As NSMenuItemMBS = m.Item(5) // use small size i.isHidden=True What if, on another OS version or configuration, the item 5 is another one? Your code could break. I'll add ActionSelector to NSMenuItemMBS so you can query the selector name. THis is more unlikely to change than the title or the index. The selector name is: toggleUsingSmallToolbarIcons: I also add two methods to find it easier: itemWithSelector(selector as string) as NSMenuItemMBS indexOfItemWithSelector(selector as string) as integer Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info