XcodeCapp complains about NSToolbarPrint when using Toolbar in Interface Builder - interface-builder

Since I moved from Cappuccino 0.9.6 to 0.9.7, XcodeCapp gives me the error 'The built in image "NSToolbarPrint" is not supported' when there is a toolbar in Interface Builder. Removing the print item doesn't help. Any ideas?

Is that an error or just a warning though? You probably didn't fully remove the print item from the toolbar though - did you remove it from only the toolbar itself, or did you also remove it from the palette of available toolbar items? When you double click the toolbar in Xcode you should be able to see the whole palette and delete the 'NSToolbarPrint' item there too.

Related

Xcode 6.1 Main Storyboard turned blank when clicked on Show the Version Editor button

I'm new and following a tutorial when I misclicked on the "Show the Version Editor" button instead of the Assistant Editor all my graphics I've made in the Main Storyboard is now blank! I can find them in the tree but they are "grey" or "faded", so I can't drag and drop anymore.
I guess it's just a view setting or something but I can't find how to restore it to normal?
Please help, looks like I can't post a screenshot of it since I'm new :(
Thanks
NisseB!
I fixed it myself! I just had to change the canvas size to what I had before running the Version Editor (for all iPhones) and then all the objects appeared again! If I also disabled Auto Layout I got some objects back, but in wrong locations, so this was better!

How can I inspect a XUL popup element without it disappearing?

Firefox 31 broke my Googlebar Lite extension, and I'm trying to debug why. My problem is that mouse clicks no longer register for search suggestions that appear in the auto-complete popup menu (which comes as a part of the Firefox autocomplete textbox control). I'd like to inspect these chrome elements with DOM Inspector, but the popup closes (destroying the anonymous children) before I'm able to inspect them.
How can I inspect a popup element (in this case it's a panel) without it disappearing? Is there a way I can force that kind of element to stay open so I can examine its children?
Inspecting the autocomplete DOM would require hacking deeply into the autocomplete code to avoid making it destroy items before inspecting.
While possible, I'd first look if the autocomplete code changed, so I tried:
Finding the result interface on MXR: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteResult.idl
Checking the log: http://hg.mozilla.org/mozilla-central/filelog/de8c0f0e74a2/toolkit/components/autocomplete/nsIAutoCompleteResult.idl
Checking out the newest changeset(s) and bug(s).
And indeed, Bug 754265 amended the interface.
So I implemented the interface change, implementing the new API method, and after that the broken stuff works again:
getFinalCompleteValueAt: function(index) {
return this._results[index];
},
I made a pull-request for you.
Also try installing addon "Element Inspector" it allows you Shift + Right Click anything and it pops it up in "DOM Inspector"
https://addons.mozilla.org/en-US/firefox/addon/element-inspector/

Xcode stupid warning: View is clipping its content

I get this stupid warning in Xcode 4
Clipped Content
View is clipping its content
if I create an unbordered bevel button with an image bigger then the button itself.
Why? How can i suppress it?
I had a similar problem with a gray warning.
"Warning: Clipped Content. View is clipping its content in
XXXX.xib"
I got rid of the warning by right clicking on XXXX.xib > Open As > Source Code.
After building again in xcode the warning was gone.
Change scaling according to your requirement. It will solve it.
as far as i know you can't suppress specific xib notices, but you can disable them in general. in project->settings (or target->settings if you have multiple targets and only want to do it for one/some), there is the "Interface Builder XIB Compiler - Options" section which includes "Show Notices". if you set this to No then you should stop seeing this message. of course, it may mean you miss out on other messages.
I had the same problem and I finally ended up resizing the image because it was so annoying.
Had the same problem. Nothing helps, but add the complaining NSButton again, same wires and bindings and image in same size (scaling down), problem was gone.
For Xcode 10.2.1 what solved my problem was to choose Position Below, on Interface Builder, as shown in these pictures, under Show the Attributes inspector tab:

How to add a chart in iReport Designer 4.1.2 to my designer view?

Problem
I have created a blank report (mychart.jrxml).I cannot figure out how to add a chart to my blank report in the designer view.
What I have tried
I went into the samples folder under the iReport folder of the installation and opened up one of the samples that has a chart. In that example (charts.jrxml) the chart definition is expanded in the Summary section on the left tree navigation bar.
So I go to my blank (mychart.jrxml) file and try to right click "Summary" to see if I can add any type of component but I cannot.
UPDATE
I have noticed that in the main navigation bar the the Palette menu item under tools is empty.
Does anybody know how? Do I have to get the pay edition to accomplish this?
Thanks,
Official answer: Click on Window->Palette This will open up a Palette Widnow on the right

Ckeditor: Using Firefox built in spellchecker

I feel a little caught between a rock and a hard place here. I want to use Firefox's built in spell checking without disabling Ckeditor's context menu as this renders it impossible to work with tables. Is there a way of getting the best of both worlds here?
You could try setting the disableNativeSpellChecker property to false - it should then be possible to see the native spell checker markings within the editor - however for me I couldn't get this to work in Firefox, only Google chrome.
You can then hold the ctrl key down when you right click to show the browser context menu (provided browserContextMenuOnCtrl has not been set to false)
HTH.
Use the browser's default contextmenu for right click action, then you don't need to press Ctrl to shoe the browser's default context menu.
config.removePlugins = 'scayt,menubutton,contextmenu';
Enable the built-in spell checker if the browser provides one.
config.disableNativeSpellChecker = false;
hi there you can disable it by going to
Ckeditor>File Editor.then make sure you're editing the ckeditor.config.js file!
then add the two lines at the bottom (after the }; tag) add the two lines like below!...
**> CKEDITOR.config.disableNativeSpellChecker = false;
CKEDITOR.config.browserContextMenuOnCtrl = true;**
then save it..........
when writing in ckeditor a red dot underline will appear if your spell is incorrect!
when you right click the ckeditor's context menu appear.....but when you Ctrl+Right Click the browsers default menu appears....thanks..........
Use this plugin: http://martinezdelizarrondo.com/spellcheck/ and as it's stated, you have to install the WriteArea extension in Firefox.
Have you tried to enable SCAYT (SpellCheckAsYouType) in CKeditor? It is buit-in there and works as a plug-in.

Resources