PrefUI // Batch-change max-page-height to 490.
This commit is contained in:
parent
70c2eb954c
commit
a62d684e2f
|
@ -29,7 +29,7 @@ struct VwrPrefPaneCassette: View {
|
|||
|
||||
private static let dlgOpenFile = NSOpenPanel()
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -23,7 +23,7 @@ struct VwrPrefPaneDevZone: View {
|
|||
forKey: UserDef.kPhraseReplacementEnabled.rawValue
|
||||
)
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -39,7 +39,7 @@ struct VwrPrefPaneDictionary: View {
|
|||
private static let dlgOpenPath = NSOpenPanel()
|
||||
private static let dlgOpenFile = NSOpenPanel()
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -53,7 +53,7 @@ struct VwrPrefPaneExperience: View {
|
|||
@State private var selShareAlphanumericalModeStatusAcrossClients = UserDefaults.standard.bool(
|
||||
forKey: UserDef.kShareAlphanumericalModeStatusAcrossClients.rawValue)
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -40,7 +40,7 @@ struct VwrPrefPaneGeneral: View {
|
|||
@State private var selShowReverseLookupInCandidateUI = UserDefaults.standard.bool(
|
||||
forKey: UserDef.kShowReverseLookupInCandidateUI.rawValue)
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -21,7 +21,7 @@ struct VwrPrefPaneKeyboard: View {
|
|||
UserDefaults.standard.string(forKey: UserDef.kAlphanumericalKeyboardLayout.rawValue)
|
||||
?? PrefMgr.shared.alphanumericalKeyboardLayout
|
||||
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
|
|
@ -14,7 +14,7 @@ import SwiftUI
|
|||
|
||||
@available(macOS 10.15, *)
|
||||
struct VwrPrefPanePhrases: View {
|
||||
private let contentMaxHeight: Double = 440
|
||||
private let contentMaxHeight: Double = 490
|
||||
private let contentWidth: Double = {
|
||||
switch PrefMgr.shared.appleLanguages[0] {
|
||||
case "ja":
|
||||
|
@ -39,7 +39,7 @@ struct VwrPrefPanePhrases: View {
|
|||
ScrollView {
|
||||
VStack {
|
||||
VwrPhraseEditorUI(delegate: LMMgr.shared, window: CtlPrefUI.shared.controller.window)
|
||||
.frame(width: contentWidth + 28, height: 395)
|
||||
.frame(width: contentWidth + 28, height: 445)
|
||||
Spacer()
|
||||
}
|
||||
.padding()
|
||||
|
|
Loading…
Reference in New Issue