Questions tagged [nstabview]

An NSTabView object provides a convenient way to present information in multiple pages. The view contains a row of tabs that give the appearance of folder tabs, as shown in the following figure. The user selects the desired page by clicking the appropriate tab or using the arrow keys to move between pages. Each page displays a view hierarchy provided by your application.

95 questions
0
votes
0 answers

Tabbing between fields of an NSTabView

I recently reorganized a window that contained a large number of NSTextFields to instead use a single NSTabView, along with a couple of push buttons (OK, Cancel, etc). Previously, I had managed the tabbing order between fields by setting the…
johnpurlia
  • 113
  • 6
0
votes
0 answers

How do I to create a custom navigation bar for NSTabViewController in Swift 4

Im developing an osx application in Swift 4 to be displayed in the menu bar and call a popover when clicked to display a number of different views. My structure in Storyboard is: NSView > Container View > Tab View This lets me maintain a top menu…
EHarpham
  • 602
  • 1
  • 17
  • 34
0
votes
2 answers

Cannot modify NSTabViewItem

I may be getting lost in a glass of water as I am not an experienced developer but I cannot seem to be able to implement a simple override to modify the size of an NSTabView item. I have a Tab View Controller (Style = toolbar) I have a Tabless Tab…
Marco
  • 81
  • 1
  • 8
0
votes
1 answer

Has anyone found **legal** overrides to customize drawing of NSTabView?

BGHUDAppKit BGHUDTabView _drawThemeTab private API override now broken For years, I have been using code originally based off of BGHUDAppKit, and found replacements for all of the private API that BGHUDAppKit overrides. Except for one that I could…
0
votes
0 answers

How to select tabs for tabless NSTabViewController

I have created sample NSTabViewController project. I have added tab View Controller with 3 tab items. Then I have make tabview to tab less and switch tab with the help of three buttons. I have take buttons actions in my main view controller. I am…
Sangram Shivankar
  • 3,535
  • 3
  • 26
  • 38
0
votes
1 answer

NSTabViewController add NSToolbarItems

I'd like to use the NSTabViewController for switching through 6 different Tabs with the toolbar style. All tabs have in common that they show different aspects of a Customer entity. Now I want to add aditional NSToolbarItems to the toolbar of the…
Oliver Koehler
  • 711
  • 2
  • 8
  • 24
0
votes
2 answers

NSTabView Background Color

I have a window controller with blue background color The background color of all children view controllers work fine with blue background just like their parent window controller, except NSTabView of NSTabViewController, which draws with the…
Anya Alstreim
  • 133
  • 12
0
votes
0 answers

NSTabView Objects out of place on launch

I've created an NSTabview with two tabs in interface builder. Added some objects (a line sone labels and a text field, codeed it and allworks as expected. Just on thing that i can't figure out. When i launch the app the objects that i placed…
0
votes
1 answer

TabviewController - set TabItems in the middle

is it possible to center the tab view items of an NSTabController ? At the moment they are on my left side: but i would set theme into the middle. i working with swift 3 for osx
Trombone0904
  • 4,132
  • 8
  • 51
  • 104
0
votes
1 answer

NSTabViewItem identifier is NSNumber in one context, NSString in another

I have four tabViewItems, with identifiers 1, 2, 3, and 4 assigned in IB, and then set up as constants, i.e.: #define kTabViewSubject 1 When testing which tabViewItem is selected, it works to treat the identifiers as NSNumbers, like this: if…
Wienke
  • 3,723
  • 27
  • 40
0
votes
1 answer

Storyboard NSTabView TabViewItem positioning

Im on Xcode 8.2, OSX, Objective C I have a NSWindow instance with a NSTabView in a storyboard. I'd like to change positions of the tabs. It feels like i'm missing something, this HAS to be easy... The order in the Screenshot is the order they…
Pat_Morita
  • 3,355
  • 3
  • 25
  • 36
0
votes
1 answer

Swift/Cocoa: How to bind a value to currently selected tab

Working on a Preference Pane. I've got an NSTabView; tabs are created dynamically from a XIB. They're all very similar, but not identical. So, I need some values to change (and some controls to appear or disappear) according to which tab is…
0
votes
0 answers

objective c Drag And Drop IN OS X Sierra 10.12

In OS X sierra 10.12 Drag and drop is not working properly with NSTabView.... Drag and drop seems to only work in label of TabView not the entire tab ..you can see in the following project sample...download Code OR here is code:-I have created a…
0
votes
2 answers

Cocoa - NSTabViewController, how to change tabview on button press?

I've spent the past few days trying to work this out. Basically, when a user presses a button in my first tab, I want the the tabview to change to the next tab. Here's how my storyboard looks. More specifically, when a user presses Youtube in my…
0
votes
0 answers

Need to determine width of labels bar (segements) in NSTabView

I am using an NSTabView in an application inside a resizable window. The number of tabs and their titles are variable, so I would like to determine the width of the segment control at the top. I have tried adding up the tab item's [item…
Yamodax
  • 431
  • 3
  • 5