1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00
vimr/VimR/TestPane.swift
2016-08-25 09:27:59 +02:00

27 lines
629 B
Swift

/**
* 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
}
}