PrefUI // Slightly tweak contentMaxHeight.

This commit is contained in:
ShikiSuen 2022-08-28 00:36:19 +08:00
parent 70f8393826
commit 5d6c2f2235
5 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ struct suiPrefPaneDevZone: View {
@State private var selShouldAlwaysUseShiftKeyAccommodation: Bool = UserDefaults.standard.bool( @State private var selShouldAlwaysUseShiftKeyAccommodation: Bool = UserDefaults.standard.bool(
forKey: UserDef.kShouldAlwaysUseShiftKeyAccommodation.rawValue) forKey: UserDef.kShouldAlwaysUseShiftKeyAccommodation.rawValue)
private let contentMaxHeight: Double = 430 private let contentMaxHeight: Double = 432
private let contentWidth: Double = { private let contentWidth: Double = {
switch mgrPrefs.appleLanguages[0] { switch mgrPrefs.appleLanguages[0] {
case "ja": case "ja":

View File

@ -30,7 +30,7 @@ struct suiPrefPaneDictionary: View {
@State private var selHardenVerticalPunctuations: Bool = UserDefaults.standard.bool( @State private var selHardenVerticalPunctuations: Bool = UserDefaults.standard.bool(
forKey: UserDef.kHardenVerticalPunctuations.rawValue) forKey: UserDef.kHardenVerticalPunctuations.rawValue)
private let contentMaxHeight: Double = 430 private let contentMaxHeight: Double = 432
private let contentWidth: Double = { private let contentWidth: Double = {
switch mgrPrefs.appleLanguages[0] { switch mgrPrefs.appleLanguages[0] {
case "ja": case "ja":

View File

@ -42,7 +42,7 @@ struct suiPrefPaneExperience: View {
@State private var selSpecifyShiftBackSpaceKeyBehavior = UserDefaults.standard.integer( @State private var selSpecifyShiftBackSpaceKeyBehavior = UserDefaults.standard.integer(
forKey: UserDef.kSpecifyShiftBackSpaceKeyBehavior.rawValue) forKey: UserDef.kSpecifyShiftBackSpaceKeyBehavior.rawValue)
private let contentMaxHeight: Double = 430 private let contentMaxHeight: Double = 432
private let contentWidth: Double = { private let contentWidth: Double = {
switch mgrPrefs.appleLanguages[0] { switch mgrPrefs.appleLanguages[0] {
case "ja": case "ja":

View File

@ -37,7 +37,7 @@ struct suiPrefPaneGeneral: View {
forKey: UserDef.kCheckUpdateAutomatically.rawValue) forKey: UserDef.kCheckUpdateAutomatically.rawValue)
@State private var selEnableDebugMode = UserDefaults.standard.bool(forKey: UserDef.kIsDebugModeEnabled.rawValue) @State private var selEnableDebugMode = UserDefaults.standard.bool(forKey: UserDef.kIsDebugModeEnabled.rawValue)
private let contentMaxHeight: Double = 430 private let contentMaxHeight: Double = 432
private let contentWidth: Double = { private let contentWidth: Double = {
switch mgrPrefs.appleLanguages[0] { switch mgrPrefs.appleLanguages[0] {
case "ja": case "ja":

View File

@ -28,7 +28,7 @@ struct suiPrefPaneKeyboard: View {
@State private var selUsingHotKeyCurrencyNumerals = UserDefaults.standard.bool( @State private var selUsingHotKeyCurrencyNumerals = UserDefaults.standard.bool(
forKey: UserDef.kUsingHotKeyCurrencyNumerals.rawValue) forKey: UserDef.kUsingHotKeyCurrencyNumerals.rawValue)
private let contentMaxHeight: Double = 430 private let contentMaxHeight: Double = 432
private let contentWidth: Double = { private let contentWidth: Double = {
switch mgrPrefs.appleLanguages[0] { switch mgrPrefs.appleLanguages[0] {
case "ja": case "ja":