nstextfieldcell Questions
2
I'm attempting to follow the post linked below to override the NSCell of a NSTextField but it looks like the setCellClass method is now deprecated in OSX 10.10.
How to make NSTextField use custom ...
Herodias asked 2/3, 2015 at 12:15
2
I'm using an NSTextField and customizing the fieldEditor using the setupFieldEditorAttributes: method. This allows me to set custom foreground and background colors for the selected text, which is ...
Perceivable asked 31/5, 2011 at 18:34
2
Solved
I'm trying to get a custom NSTextFieldCell (inside a NSOutlineView) to end editing when the ESC key is pressed but cannot find any way to accomplish this. I tried to add an observer for the NSContr...
Gader asked 30/4, 2011 at 10:1
3
I'm struggling with a very simple problem, I've several NSTextField ( I can't use NSTextView right now) and I need to change the line spacing of the displayed text.
What can I do to reduce row heig...
Hypotension asked 2/12, 2011 at 13:19
2
Solved
More generally, what is the difference between control classes and control cell classes? Buttons have the same hierarchy, for example - NSButton and NSButtonCell.
Looking at the documentation for N...
Peroration asked 3/4, 2016 at 21:25
6
Solved
I have a view that contains two NSTextFieldCells. The size at which these cells are drawn is derived from the size of the view, and I want the text in each cell to be the largest that will fit in t...
Supercilious asked 9/3, 2010 at 15:58
1
Solved
I'm fairly new to objective-c and have just encountered an error i've not seen before.
I'm trying to set a Text Field cell as 'selectable', but i get the error "No Setter method 'setIsSelectable' f...
Anchie asked 15/2, 2015 at 17:22
2
Solved
I am getting following warning on OS X 10.9 console at the time of nib load(NSWindowController).
Invalid color System, labelColor (warning given only once)
I am using Xcode 6 and OS X 10.10 to c...
Irbm asked 16/12, 2014 at 15:11
7
Solved
I have an NSTableView with several text columns. By default, the dataCell for these columns is an instance of Apple's NSTextFieldCell class, which does all kinds of wonderful things, but it draws t...
Boito asked 5/8, 2009 at 19:25
1
Solved
I am writing an editable NSTextFieldCell in a NSTableColumn, and everything goes well. But I found that my cell can accept the mouse right click copy/paste while does not respond to the keyboard co...
Ghoul asked 9/8, 2013 at 2:58
3
I'd like the NSTextFields I set up in Interface Builder to have shadows. I've implemented a way to do this which seems to work, but I'm not sure if it's the right way.
What I did is subclass NSTex...
Hakan asked 16/4, 2011 at 18:55
2
Solved
I'm trying to create a text field similar to Finder's file labels. I would like the last (second) line to be truncated in the middle.
I started with a multi-line NSTextField.
However, calling [se...
Thinia asked 21/6, 2012 at 13:3
2
Solved
I've been looking for a solution to make my NSTextField bottom-aligned and I've found this and adjusted it for my needs. So now I have this custom NSTextFieldCell but how do I tell my NSTextFields ...
Talus asked 2/7, 2012 at 11:49
2
Solved
I need to show an NSTextFieldCell with multiple lines with different format on each line.
Something like this:
Line 1: Title
Line 2: Description
I subclassed NSTextFieldCell but I don't know ho...
Tati asked 1/7, 2011 at 19:59
1
Solved
I have an NSTableView which displays some information representing a custom object of mine. I am not using bindings.
Typically, I create my own NSCells to display data, but for once I'm after an ...
Biased asked 17/5, 2011 at 4:53
2
I am trying to setup a NSTableView with a custom cell using an ArrayController and Bindings. To accomplish this I added a subview to the custom cell. The data connection seems to work somewhat. Tho...
Submaxillary asked 4/5, 2011 at 13:36
1
Solved
I'm an iOS developer. I recently started my Mac project, but I found that unlike UITableViewCell, which is a subclass of UIView, the cell of NSTableView is NSCell, and I even can't create it in IB....
Thaddeusthaddus asked 3/2, 2011 at 14:45
3
Solved
I have a NSTextFieldCell that I wish to display with middle vertical alignment. Thanks to an older question here and a blog entry I have two working solutions.
However, both solutions seem to squ...
Phenetole asked 18/11, 2009 at 21:1
1
© 2022 - 2024 — McMap. All rights reserved.