In Mail beta 2 the listbox area for a selected mailbox does not allow for column selection, column width or column headings. Looks like there are now six fixed width columns with only a sort by icon. I hope this is not what the Mail UI will feature, as it is a significant step backward in terms of readability and usability.
Search results for
column
2,046 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
How do you populate one column based on values of other column for a macOS app using Xcode 12 in a tableView? The value of the first column comes from a comboBox which I get control by using the following code connected to the comboBox: @IBAction func comboAction(_ sender: NSComboBox) { print(Combo selected, sender.selectedTag(), sender.stringValue, sender.indexOfSelectedItem, sender.identifier as Any) } Then base on the value of the comboBox column within the comboAction function I want to populate column 2. Can this be done? If so, how
I've got a doubleColumn UISplitViewController and I'd like to retain the automatic behavior of the Collapse/Expand Primary Column button. To this end, I'm not specifying my own UINavigationController for the .secondary column position. There are moments in my app's run time that I would like to replace all of the view controllers in the .secondary column. setViewController appears to push an additional controller onto the nav stack. Is there an API available to replace the controllers with a new set?
HiI want to display text in multiple columns in OS X using Cocoa.NSTextView works well for one column, but which approach should I choose to handle multiple columns?Any advice or hint is welcome...Thanks
Howdy! On Safari, when using the column-count CSS property to split text into multiple columns, I've noticed that when applying a text-shadow, there is an unexpected whitespace created above all subsequent columns. I've put together a codepen demonstrating the issue and its reproducibility on Safari (using latest as of this posting: Version 17.6 (19618.3.11.11.5)) Codepen: https://codepen.io/cubepresser/pen/ExqvzjL Expected behavior: Actual: I tested this on the latest versions of Chrome, Firefox and Edge. This bug does not occur. Expected behavior is that there should not be an extra line added to the beginning of the second column, third column, etc. Here's some code if that codepen link doesn't work: HTML: 0000000000111111111122222222223333333333 CSS: #example { font-family: monospace; max-width: 20ch; column-count: 2; column-gap: 0; word-break: break-all; line-break: anywhere; text-shadow: 0 0 4px black; }
Hi, ALL,I am developing an application and I need to create NSOutlineView. I need it to look like the List Control (not a Tree Control). I need the control to not to have the column header. I also need the control to have 2 columns as follows:Second column will have a constant width (lets say 100 - this is not the actual width). It will be permanent for all rows in control.First column (the leftmost one) will have a width of (view_width - width_of_second_column).First column will contain the strings of the different width. The second column will contain the checkbox with the labelThere will be no horizontal scrollbar visible - the strings will be short enough to fit in the column.And as I said before - the control will not have a column header.Is creating such control with such layout possible?My understanding is that I can do something like this:[m_OutlineView setColumnAutoresizingStyle:NSTableViewSequentialColumnAutoresizingStyle];[column
Hi, On iPadOS, for three column layouts, is it possible to change the display mode in SwiftUI, like in the session Build for iPad (at 4'51)? Also, is it possible to have 3 active columns on 9.7-inch iPad in landscape (with a narrower middle column so that the righthand column has enough room for content)? Thanks
I am building Mac OS application using Objective C and Cocoa.I am somewhat familiar with bindings (enough to get in trouble).I can build and display tables with bindings without a problem.What I want to do is depending upon other factors, be able to add some number of columns to a tableview where the column cell content is a Check Box button.In my TableViewControlller in the viewDidLoad method I am adding columns with names and adding the binding for the column there: NSString *keyPath = [NSString stringWithFormat:@arrangedObjects.field%ld, index]; [aCol bind:@value toObject:arrayController withKeyPath:keyPath options:nil];(the fields in the array are labeled field1, field2, field3, ....)The columns and their titles do show up when the table is displayed. The rows of data for the fixed columns in the table show up. So the bindings for the fixed columns are working.- (NSView *)tableView:(NSTableView *)inTableView viewForTableColumn:(NSTableColumn *
I need to display a tableView without knowing all of the columns at compile time.The names, formats (and of course values) of some columns are given by a query during executing time.So I thought I have to override the make function of tableView as follow:override func make (withIdentifier identifier: String, owner: Any?) -> NSView? { if identifier != ligne24 &&{ // ligne24 is one of the identifier(s column I can't build on compile time return super.make(withIdentifier: identifier, owner: owner) } let view = NSTableCellView() let txt = myNewTextField() txt.identifier = identifier view.subviews.append(txt) return view }Of course, in another place of my code, I have added this:column = NSTableColumn (identifier: ligne24)column.title = some titletableView.addTableColumn(column)and infunc tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView?I put the correct value in the textfieldat executing time, table is ok, I can see the
The question sounds simple but it is not in case the NSOutlineView has an outline table column. In this case removeTableColumn: does nothing but says that nil should be sent to setOutlineTableColumn:.BUT the docs say that a parameter of nil for setOutlineTableColumn: is being ignored and this is unfortunately also true. 😕So, how do I get rid of all columns?
lazyVGrid with two columns, is there a way to span the odd last item to span the two columns just to be symmetric🤔. Apple reminders app does exactly that but not sure if they use the LazyVGrid any pointers are very much appreciated.
How does one change the width of the primary column? I’ve tried preferredPrimaryColumnWidthFraction when the svc is intantiated but it has no effect. I’m using .doubleColumn style for the svc and my primary view controller is using .sidebar appearance style.
I am using Xcode 11.6 and IB for a macOS app and using a tableview. It has 10 columns. I would like to add the functionality to right click on the header and have a pop menu with the column names to select which columns for the tableview to show/hide. What is the best approach to add this functionality? How is this done?
XCode/Swift/OSXI have a TableView with programmatically created columns (so can't set column properties in IDE)I can set Right Align on the first column headerCell like this:-myTable.tableColumns[0].headerCell.alignment = NSRightTextAlignmentBut I can't figure out how to right align the contents of the data in the column.ThanksIan
I am trying to build a Table using SwiftUI that has 14 columns. If I enter that many TableColumns under Table, I get the The compiler is unable to type-check... error. In fact, I get that error until I cut it back to 10 columns. My Columns all look something like this, with different name and value paths, of course: TableColumn(Loc, value: .location) I have seen that the way around this error is to break up the expression into something simpler. But I can't figure out how to simplify the number of columns. Any ideas? Thanks, Don