Files
OSGKeyboard/OSGKeyboardShared/Models/KeyboardChromeLayout.swift
T
Rocky 38e5ad570d feat(typing): add English autocomplete and Chinese candidate expand panel
Offline English lexicon suggestions with autocapitalization, plus a same-height Chinese more-candidates grid over the key area.
2026-08-03 18:30:20 +08:00

16 lines
535 B
Swift

// KeyboardChromeLayout.swift
// OSGKeyboard · Shared
//
// Cross-surface dimensions that must stay identical in voice and typing modes.
import CoreGraphics
public enum KeyboardChromeLayout {
public static let totalHeight: CGFloat = 281
public static let actionKeyHeight: CGFloat = 50
public static let actionKeyCornerRadius: CGFloat = 10
/// Fixed width for the two side keys in every three-key bottom row.
public static let sideActionKeyWidth: CGFloat = 86
public static let horizontalInset: CGFloat = 8
}