Lock symbol for uilabel - swift

A navigation bar button item has the option to set it to a "lock" symbol. this can be done in the options pane on the right hand side in Xcode. Is it possible to use this on a UILabel? maybe in code? because i can't find the lock item in the options pane for a uilabel.

I don't think there is any "lock" symbol for navigation bar button item. The closest I can think of is ".Stop". However, SF Symbols can be used to represent both Lock or Stop. It'll be a good place to start

Related

Eclipse: Lower bar moved to right, how to undo?

I don't know if this is the right place for it. Using Eclipse 4.6.2 on OSX, in the Java view, I used to have a bar on the bottom with Problems, Tasks, Console, Properties, etc. tab options. This bar is now small icons on the right. It appears on the bottom when I click on the right bar, but it disappears as soon as I click on any editing tab outside of it. Clicking and dragging the bar to the bottom doesn't have any effect. It has a restore-window style icon that doesn't seem to do anything.
I'm also finding that when I select a .java file, like in Problems or Call Hierarchy, it shows up on the bottom, when it used to pop up above the bottom section.
I've always gotten really confused whenever I've tried to mess with the default views/perspectives in Eclipse. I probably made this happen by mistake. I want to revert to the original behavior, but I'm not sure how. Any advice?
On the top there should be a "window" menu bar. If you look in the window bar you should get a "reset perspective" option.

Stop Layout Options icon appearing by default on callouts in Word 2013

This is driving me mad! I love the new layout options in Word 2013, but when a callout gets to a certain size the icon for it obscures the end of the arrow, and you can't move the arrow:
Don't suppose anyone knows either how to get rid of the icon, how to click and drag on the yellow end of the arrow, or how to stop the icon appearing in the first place?
Thanks in advance.
Here are two answers that helped me. The second option gets rid of the floating Layout Options button, but at the cost of disabling some features of Word 2013.
First Option:
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/any-way-to-disable-the-layout-options-button/47f6af4a-2acd-483e-a953-6415c8530554
It might help to increase the zoom (use the slider at the right end of the status bar) while you work with the picture.
Second Option:
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/layout-options-icon-word-2013-suddenly-missing/ce304589-9db2-44c5-b1e1-8fd6596b70c4
Is the document in Compatibility Mode (shown by those words appearing in the title bar along with the document name)? If that's the case, click File and then click the Convert button. That will make the Layout Options button appear when a picture is selected, as well as turning on other features that are available only in the 2013 format. When you save, the document file will change to the .docx extension.
I know the second quote is about turning the Layout Options button on, but it works backwards, too. I saved my file as a *.doc instead of a *.docx and the floating button went away.
When you're finished editing your callouts, you can save it again as a *.docx.
One method that helped me was to flip horizontal, change the leader position, then flip back. That way the leader line is temporarily on the opposite side of the layout button, and both handles of the leader line are accessible, then can flip back. It is an extra step, but is another alternative.
In an attempt to automate this to quickly flip the object back and forth, I couldn't find a macro command to make a shortcut, or anything under Customize Ribbon with custom Keyboard Shortcuts to Flip Horizontal (MoreRotationOption opens up a dialog which does not give an option to flip).
The Flip Horizontal command could be called by pressing ALT JD (Format) AY (Rotate Objects) H (Horizontal) when the object is selected...
The best I could do was to add Rotate Objects to the Quick Access Toolbar, then the Flip Horizontal command could be called by pressing ALT # (whatever number you assign) H (Horizontal) which is three keystrokes.

Is it possible to make Interface Builder in XCode to create a backing IBAction automatically?

Must be using wrong keywords in search because I can't find any answer to this.
I don't use much of a Visual Studio to build UIs but I do remember that double click on UI component event (like Button OnClick) automatically creates a hander method in supporting C# class.
So is there maybe a magical combination of keys or clicks to achieve the same effect in XCode IB?
In xcode open your nib(xib) file, switch the xcode to the 'Assistant Editor' mode. Select .h(header) file of your class on the right side of the editor. Select your button in the interface, and by holding the button with the right mouse button drag it to the .h(header) file, you will see the line drawn between your button and header, when the right end of the line is in right place on the header, release the right button of the mouse. Now you should see the menu for creating IBOutlet and IBActions. On the top of the menu you can choose between creating IBOutlet or IBAction, choose action and name your method and hit enter. That's it :) Good luck!

Netbeans - How do I hide the vertical bar w/colors?

Haven't found an option in the IDE to hide it, are there any configuration files that would do it? I never use it, and in my effort to optimize screen space with multiple tab groups, this would save me some pixels. :-P
Here's the bar in question:
http://i.stack.imgur.com/inwUM.png
I believe you are referring to the Diff Sidebar. To remove this use the menu item located at View > Show Diff Sidebar. This menu item is a toggled menu item so when it is active there is a check beside it.

Adjust Eclipse Methods Menu Size

I don't know how I accidentally did this but the methods menu in my Eclipse window is too big and I want to resize it back. The menu I'm talking about is the one that pops up when you type a "." after an object and it brings down a list of methods you can use on it. I must have accidentally dragged the menu to large and now I can't drag it back. Does anyone know the name of this menu? Or better yet, how I can resize it back to normal?
This menu can be re-sized like a classic window by putting the mouse pointer at the bottom right of the menu and dragging the mouse to expand or reduce it.