按照设计稿调整虚拟键盘高度,调整虚拟键盘数字按键字体大小
This commit is contained in:
parent
67abd64cc8
commit
afc0cc900a
|
@ -38,6 +38,7 @@ Rectangle {
|
|||
property real fontSize: keyHeight * 6/11 * 3/4
|
||||
property real shiftFontSize: fontSize / 2
|
||||
property real switchKeyFontSize: fontSize * 3/4
|
||||
property real fnSymbolKeyFontSize: fontSize * 3/4
|
||||
property real actionKeyFontSize: fontSize * 3/4
|
||||
property real preeditTextFontSize: fontSize * 3/4
|
||||
property real candidateFontSize: fontSize * 3/4
|
||||
|
|
|
@ -4,6 +4,8 @@ SymbolKey {
|
|||
height: virtualKeyboard.firstRowKeyHeight
|
||||
|
||||
property string fnValue
|
||||
|
||||
fontSize: virtualKeyboard.fnSymbolKeyFontSize
|
||||
|
||||
state: virtualKeyboard.fnSymbolState
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ private:
|
|||
std::unique_ptr<QDBusInterface> virtualKeyboardBackendInterface_ = nullptr;
|
||||
std::unique_ptr<QDBusInterface> fcitx5ControllerInterface_ = nullptr;
|
||||
bool virtualkeyboardVisible_ = false;
|
||||
float virtualKeyboardAspectRatio_ = 472.0 / 1620.0;
|
||||
float virtualKeyboardAspectRatio_ = 512.0 / 1620.0;
|
||||
QString virtualKeyboardBackendService =
|
||||
"org.fcitx.Fcitx5.VirtualKeyboardBackend";
|
||||
QString virtualKeyboardBackendServicePath = "/virtualkeyboard";
|
||||
|
|
Loading…
Reference in New Issue