Added preferred size code for Mac OS X.
Added preferred size code for Mac OS X.

janstk/ui,janstk/ui,UIKit0/ui,robbiev/ui,beni55/ui,HunterChen/ui,hajimehoshi/ui,292388900/ui,mirrr/ui,mirrr/ui,beni55/ui,cainiaocome/ui,robbiev/ui,UIKit0/ui,HunterChen/ui,janstk/ui,cainiaocome/ui,292388900/ui,292388900/ui,ProtonMail/ui,hajimehoshi/ui,mirrr/ui,cainiaocome/ui,hajimehoshi/ui,ProtonMail/ui,UIKit0/ui,HunterChen/ui,robbiev/ui,ProtonMail/ui,beni55/ui