[vlc-commits] macosx: set some min / max widths for playlist outline view
David Fuhrmann
git at videolan.org
Sat Jan 9 13:49:56 CET 2016
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Jan 9 13:48:19 2016 +0100| [1fa9bf9a2b258036d5dd9ba886bdb3771988e726] | committer: David Fuhrmann
macosx: set some min / max widths for playlist outline view
close #11845
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fa9bf9a2b258036d5dd9ba886bdb3771988e726
---
modules/gui/macosx/VLCPlaylist.m | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/VLCPlaylist.m b/modules/gui/macosx/VLCPlaylist.m
index 1619259..1e78962 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -469,9 +469,12 @@
[[tableColumn headerCell] setStringValue:[_translationsForPlaylistTableColumns objectForKey:columnId]];
if ([columnId isEqualToString: TRACKNUM_COLUMN]) {
- [tableColumn setWidth:20.];
- [tableColumn setResizingMask:NSTableColumnNoResizing];
+ [tableColumn setMinWidth:20.];
+ [tableColumn setMaxWidth:70.];
[[tableColumn headerCell] setStringValue:@"#"];
+
+ } else {
+ [tableColumn setMinWidth:42.];
}
[_outlineView addTableColumn:tableColumn];
More information about the vlc-commits
mailing list