Commit 1fa9bf9a authored by David Fuhrmann's avatar David Fuhrmann

macosx: set some min / max widths for playlist outline view

close #11845
parent fabe8243
...@@ -469,9 +469,12 @@ ...@@ -469,9 +469,12 @@
[[tableColumn headerCell] setStringValue:[_translationsForPlaylistTableColumns objectForKey:columnId]]; [[tableColumn headerCell] setStringValue:[_translationsForPlaylistTableColumns objectForKey:columnId]];
if ([columnId isEqualToString: TRACKNUM_COLUMN]) { if ([columnId isEqualToString: TRACKNUM_COLUMN]) {
[tableColumn setWidth:20.]; [tableColumn setMinWidth:20.];
[tableColumn setResizingMask:NSTableColumnNoResizing]; [tableColumn setMaxWidth:70.];
[[tableColumn headerCell] setStringValue:@"#"]; [[tableColumn headerCell] setStringValue:@"#"];
} else {
[tableColumn setMinWidth:42.];
} }
[_outlineView addTableColumn:tableColumn]; [_outlineView addTableColumn:tableColumn];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment