Commit 8af1d49f authored by David Fuhrmann's avatar David Fuhrmann

macosx: improve playlist table column resizing behaviour

parent 1995b300
......@@ -21,15 +21,15 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="4948"/>
<integer value="915"/>
<integer value="5160"/>
<integer value="2730"/>
<integer value="21"/>
<integer value="2770"/>
<integer value="4948"/>
<integer value="4845"/>
<integer value="4722"/>
<integer value="5160"/>
<integer value="4850"/>
<integer value="4372"/>
<integer value="2730"/>
<integer value="1617"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
......@@ -451,7 +451,7 @@
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSGridStyleMask">1</int>
<int key="NSColumnAutoresizingStyle">4</int>
<int key="NSColumnAutoresizingStyle">3</int>
<int key="NSDraggingSourceMaskForLocal">15</int>
<int key="NSDraggingSourceMaskForNonLocal">0</int>
<bool key="NSAllowsTypeSelect">YES</bool>
......
......@@ -1500,13 +1500,10 @@
if ([o_column isEqualToString: TRACKNUM_COLUMN])
{
[o_work_tc setMaxWidth: 20.];
[o_work_tc setWidth: 20.];
[o_work_tc setResizingMask: NSTableColumnNoResizing];
[[o_work_tc headerCell] setStringValue: @"#"];
}
else if ([o_column isEqualToString: TITLE_COLUMN])
{
[o_work_tc setResizingMask: NSTableColumnAutoresizingMask | NSTableColumnUserResizingMask];
}
[o_outline_view addTableColumn: o_work_tc];
[o_work_tc release];
......
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