#3669 Streamline the bottom-left buttons, removing the button borders and using an updated turtle image. There is glue-code for this to work on localizations until they update the xib files.

This commit is contained in:
Mitchell Livingston
2010-10-24 19:19:21 +00:00
parent 363e83ffec
commit 05175c8100
6 changed files with 972 additions and 65 deletions

View File

@@ -409,6 +409,12 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
if ([fDefaults boolForKey: @"SmallView"])
[fTableView setRowHeight: ROW_HEIGHT_SMALL];
#warning remove once localizations are updated for 2.2
[fActionButton setBordered: NO];
[fActionButton setFrame: NSMakeRect(8.0, 2.0, 36.0, 18.0)];
[fSpeedLimitButton setBordered: NO];
[fSpeedLimitButton setFrame: NSMakeRect(47.0, 2.0, 36.0, 18.0)];
//window min height
NSSize contentMinSize = [fWindow contentMinSize];
contentMinSize.height = [[fWindow contentView] frame].size.height - [[fTableView enclosingScrollView] frame].size.height