|
|
@ -12,6 +12,9 @@ class TimezoneCellView: NSTableCellView { |
|
|
|
@IBOutlet var extraOptions: NSButton! |
|
|
|
@IBOutlet var extraOptions: NSButton! |
|
|
|
@IBOutlet var sunriseImage: NSImageView! |
|
|
|
@IBOutlet var sunriseImage: NSImageView! |
|
|
|
@IBOutlet var currentLocationIndicator: NSImageView! |
|
|
|
@IBOutlet var currentLocationIndicator: NSImageView! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static private let minimumFontSizeForTime: Int = 11 |
|
|
|
|
|
|
|
static private let minimumFontSizeForLabel: Int = 10 |
|
|
|
|
|
|
|
|
|
|
|
var rowNumber: NSInteger = -1 |
|
|
|
var rowNumber: NSInteger = -1 |
|
|
|
var isPopoverDisplayed: Bool = false |
|
|
|
var isPopoverDisplayed: Bool = false |
|
|
@ -134,8 +137,8 @@ class TimezoneCellView: NSTableCellView { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let newFontSize = CGFloat(11 + (userFontSize.intValue * 1)) |
|
|
|
let newFontSize = CGFloat(TimezoneCellView.minimumFontSizeForLabel + (userFontSize.intValue * 1)) |
|
|
|
let newTimeFontSize = CGFloat(12 + (userFontSize.intValue * 2)) |
|
|
|
let newTimeFontSize = CGFloat(TimezoneCellView.minimumFontSizeForTime + (userFontSize.intValue * 2)) |
|
|
|
|
|
|
|
|
|
|
|
let fontManager = NSFontManager.shared |
|
|
|
let fontManager = NSFontManager.shared |
|
|
|
|
|
|
|
|
|
|
|