Sha256: c6b5542f165a4918119748c2264705aa3680dd44a549488063edd583d6b232eb
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
class MainWindowLayout < MK::WindowLayout MAIN_WINDOW_IDENTIFIER = 'MAIN_WINDOW' def layout frame [[335, 390], [402, 114]], MAIN_WINDOW_IDENTIFIER styleMask NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask contentMinSize [402, 92] add NSTextField, :remove_me end def remove_me_style size [37, 16] center ['50%', '50%'] autoresizing_mask :pin_to_center background_color NSColor.clearColor editable false selectable true bordered false bezeled false string_value 'Hello!' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
motion-kit-templates-1.0.3 | templates/mk-osx/files/app/main/main_window_layout.rb |
motion-kit-templates-1.0.2 | templates/mk-osx/files/app/main/main_window_layout.rb |