1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-23 05:32:13 +03:00
vimr/VimR/TestPane.swift

27 lines
629 B
Swift
Raw Normal View History

2016-08-25 10:27:59 +03:00
/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
import RxSwift
import PureLayout
class TestPane: PrefPane {
override func addViews() {
let title = self.paneTitleTextField(title: "Test")
self.addSubview(title)
title.autoPinEdgeToSuperviewEdge(.Left, withInset: 18)
title.autoPinEdgeToSuperviewEdge(.Top, withInset: 18)
title.autoPinEdgeToSuperviewEdge(.Bottom, withInset: 18)
title.autoPinEdgeToSuperviewEdge(.Right, withInset: 18)
}
override func subscription(source source: Observable<Any>) -> Disposable {
return NopDisposable.instance
}
}