use global NSLayoutManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -321,10 +321,7 @@ protected:
|
|||||||
while (columnIndex--)
|
while (columnIndex--)
|
||||||
[[(NSTableColumn *)[tableColumns objectAtIndex:columnIndex] dataCell] setFont:aFont];
|
[[(NSTableColumn *)[tableColumns objectAtIndex:columnIndex] dataCell] setFont:aFont];
|
||||||
|
|
||||||
// todo introduce a common NSLayoutManager instance for all and use new method
|
[self setRowHeight:[gNSLayoutManager defaultLineHeightForFont:aFont]+2];
|
||||||
#ifndef __LP64__
|
|
||||||
[self setRowHeight:[aFont defaultLineHeightForFont]+2];
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setControlSize:(NSControlSize) size
|
- (void) setControlSize:(NSControlSize) size
|
||||||
|
Reference in New Issue
Block a user