How can I move the toolbar in IntelliJ from the Top Right corner to the Top Left?
click on Main Menu | View | Toolbar
I'm writing this answer because I wanted the opposite. One day IntelliJ suddenly started aligning the buttons to the left.
There are at least two toolbars in IntelliJ:
The Toolbar which is aligned to the left,
and the Navigation bar which is aligned to the right.
The buttons of both toolbars can be customized independently.
Therefore, in order to show the toolbar one side or the other, press CTRL + SHIFT + A and then type either View Toolbar or View Navigation bar.
Previous answers didn't work for me because in mac CTRL + SHIFT + A does nothing and View -> Toolbar doesn't exist, actually it's View -> Appearance -> Toolbar.
In mac, for Android Studio 4.2 (it changed the toolbars/navigation when updating) you can right click the Navigation bar (the one that shows the current file location at the top left) and hide it, untick "Show Navigation bar".
Then, toggle the Toolbar, View -> Appearance -> Toolbar on and off, this will show the icons to the left, as in my previous instance of Android Studio.
Now you can re-enable the Navigation bar and it will show below the Toolbar.
Related
I've 2 tool windows open in addition to the main Editor window, Terminal and debug. The terminal window is on the right sidebar and debug window is on the bottom sidebar.
The problem is that bottom sidebar is in front of the right sidebar. But I want the right bar to be in the front.
How can I change this configuration?
Enable the Widescreen tool window layout option in File | Settings | Appearance & Behavior | Appearance:
By default, in IntelliJ, the main toolbar is hidden. When it is hidden, there are essential buttons that are shown in the navigation bar. I don't need the full toolbar, but it would be nice to be able to add a single button to the navigation bar.
How do you add a button to the navigation bar?
You can customize any menu or toolbar in IDEA in settings by going to:
Settings-> Appearance and Behavior -> Menus and Toolbars
The item you are looking for is called
Navigation Bar Toolbar
I have a toolbar in an NSWindow in my Cocoa app, and it works great, but I'm having trouble editing it. When I open it (or double-click on any of its items in the tree on the left in Xcode), the toolbar editing sheet hides behind other views in the NSWindow.
Is there a way to edit a toolbar by itself in a new window or something? Is there a trick to getting other views in my NSWindow to go "below" the toolbar in IB? The toolbar itself is perfectly fine when my program is running. It's just editing it that's a giant pain.
EDIT: Here, the content area of the window has a vertical NSSplitView, and the left half (an NSScrollView) is completely over the toolbar customizing sheet in IB, and the Custom View on the right side is over the sheet as well but it's transparent so I can see through it a little bit:
If I delete the window contents (the NSSplitView), then I can edit the toolbar (like Jay's picture), but that can't be what I'm expected to do every time I want to edit a toolbar item.
Basically editing the toolbar in IB is as easy as double-clicking..
Double-click on either the Toolbar or an Toolbar Item and the Toolbar Editor will open in the Editor area of IB. This is the same view users can see when customizing toolbars at runtime.
To change the toolbar configuration you then change the Default toolbar items area to whatever you desire and hit Done afterwards!
I am writing an application that sits in the OS X menu bar and when you press its icon a little NSPanel opens up. I would like the user to be able to resize it, but only by dragging the bottom left corner. I want to prevent them from being able to drag the top edge down and "unstick" the window from the menu bar.
Just override touchesBegan mouseDown: and pass on the drag only if it is in the designated corner, discarding other touches.
See Cocoa Event Handling Guide
How would I make the name of the app appear here ( like with a normal app )…
alt text http://snapplr.com/snap/6sgc
… when the app is an LSUIElement.
My Problem is that when the App is LSUIElement the name is not by default displayed in the menu bar like an normal app. Basically all I want LSUIElement to do is to hide the dock icon not the name in the menu bar.
For those who's native language isn't English, when I say 'App' i mean 'Application'.
Thanks.
Don't do this; it's not what users expect. A dock icon and menu bar go together. If you want to get both a dock icon and menu bar icon in your UIElement app, use TransformProcessType.
If you really must, you can draw your own menu bar window (if you use the appropriate window level it'll appear over the top of the existing menu bar).