|
@@ -118,13 +118,15 @@ class KMConvertBaseWindowController: KMBaseWindowController {
|
|
super.initSubViews()
|
|
super.initSubViews()
|
|
|
|
|
|
let view = self.initSettingView()
|
|
let view = self.initSettingView()
|
|
- view?.frame = self.rightScrollView.bounds
|
|
|
|
- view?.autoresizingMask = [.width, .height]
|
|
|
|
|
|
+// view?.frame = self.rightScrollView.bounds
|
|
|
|
+// view?.autoresizingMask = [.width, .height]
|
|
self.settingView = view
|
|
self.settingView = view
|
|
self.rightScrollView.documentView = view
|
|
self.rightScrollView.documentView = view
|
|
self.rightScrollView.verticalScrollElasticity = .none
|
|
self.rightScrollView.verticalScrollElasticity = .none
|
|
self.rightScrollView.horizontalScrollElasticity = .none
|
|
self.rightScrollView.horizontalScrollElasticity = .none
|
|
|
|
|
|
|
|
+ view?.km_add_inset_constraint()
|
|
|
|
+
|
|
view?.currentLanguage = self.getCurrentLanguage()
|
|
view?.currentLanguage = self.getCurrentLanguage()
|
|
view?.lanugageDidSelected = { [unowned self] value, _ in
|
|
view?.lanugageDidSelected = { [unowned self] value, _ in
|
|
guard let index = value as? Int else {
|
|
guard let index = value as? Int else {
|