when i create a new app with interface builder, the buttons toolbar is not display, it suppose to be displayed in the right, please what to do, thx in advance :)
Hit Cmd-Shift-L and the Library will show up. You can also use the menus at the top to make it show up.
Related
I have some custom buttons in my host app that I'd like to use in the Today Extension.
They work just fine in the app but do not display in the widget.
The button on the left is my custom button class, the one on the right is a UIButton. If I change it to my custom class it too disappears.
Any thoughts why this might be happening?
----------------------EDIT------------------------
Well, somehow I managed to get it to display but sometimes it's not drawing the whole button and sometimes it's drawing the button incorrectly.
Any help would be appreciated! Thanks
I'm a newbie in Firefox add-ons development. I'm developing an add-on and able add a button on navigation toolbar. But I need to add a panel (size of 125x30) instead of a button. Is it possible? If possible please help me. Thanks.
It is not possible that I know of, though I am also relatively new. You can create a 125x30 button - thanks ken snyder - or you can create a widget in the Add-On bar. Either of these could open a separate panel, but I don't think you can directly insert a panel into a toolbar with the new SDK.
I am using firefox addon builder (Addon kit 1.7) and I wonder to know if it's possible to show a simple menu like the context menu of firefox just after clicking on the widget icon. I need few hints. Thanks in advance.
I managed to make it work using the MenuPopup package by Yaelle Borghini and uploaded a simple example on the Addon Builder site.
You will have to expand on Yaelle's code to support dynamic modifications of the menu items because it's not fully built in at the moment (though it shouldn't be too hard to add it).
Here's the discussion on the Mozilla forums about how to show menus with the Addon SDK that got me started.
Right now the only option is to hook a panel to a widget and add a menuitem to the panel with html.
Is there a way to get system buttons like the traffic lights or full screen button in Interface Builder? I am building a custom top toolbar and would like to have them in it, but would prefer to do it in IB instead of code.
Thanks,
Ross
No, you have to use -[NSWindow standardWindowButton:] or `+[NSWindow standardWindowButton:forStyleMask:].
I'm currently working on my first iOS application to run on the iPad, and I've come across a problem. I have been asked to implement menu's similar to the ones in the default applications such as when you click on the "Calendars" button in the top left of the calendars app.
Only issue is, I cant seem to find a standard UI object that looks like these, with the arrow connecting the menu to the button etc. Is this a standard UI component that I should be able to use, or will I have to imitate them by creating a custom object?
Thanks for any help.
That is a UIPopoverController. There isn't an Interface Builder control for this. You need to create one programmatically:
UIPopoverController *popover = [[UIPopoverController alloc]initWithContentViewController:someTableViewController];
See the documentation for more information and sample projects, specifically ToolbarSearch: