mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-02-12 11:21:53 +00:00
#3: Fixed font sizing on HiDPi screen
This commit is contained in:
parent
3dfa0f92e3
commit
439769ca21
4 changed files with 15 additions and 14 deletions
|
@ -50,7 +50,7 @@ ApplicationWindow {
|
|||
menuBar: ToolBar {
|
||||
id: toolbar
|
||||
font.weight: Font.Medium
|
||||
font.pixelSize: height * 0.3
|
||||
font.pixelSize: height * 0.34
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
|
@ -156,27 +156,27 @@ ApplicationWindow {
|
|||
Text {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font { weight: Font.Bold; pixelSize: 15 }
|
||||
font { weight: Font.Bold; pixelSize: 20 }
|
||||
text: "VirtScreen" + " v" + settings.version
|
||||
}
|
||||
Text {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font { pixelSize: 10 }
|
||||
font { pixelSize: 13 }
|
||||
text: "Make your iPad/tablet/computer<br/>as a secondary monitor.<br/>"
|
||||
}
|
||||
Text {
|
||||
font { pixelSize: 11 }
|
||||
font { pixelSize: 14 }
|
||||
text: "- <a href='https://github.com/kbumsik/VirtScreen'>Project Website</a>"
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
}
|
||||
Text {
|
||||
font { pixelSize: 11 }
|
||||
font { pixelSize: 14 }
|
||||
text: "- <a href='https://github.com/kbumsik/VirtScreen/issues'>Issues & Bug Report</a>"
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
}
|
||||
Text {
|
||||
font { pixelSize: 10 }
|
||||
font { pixelSize: 14 }
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
lineHeight: 0.7
|
||||
|
@ -184,7 +184,7 @@ ApplicationWindow {
|
|||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
}
|
||||
Text {
|
||||
font { pixelSize: 9 }
|
||||
font { pixelSize: 11 }
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "This program comes with absolutely no warranty.<br/>" +
|
||||
|
|
|
@ -52,14 +52,15 @@ Dialog {
|
|||
}
|
||||
|
||||
Text {
|
||||
font { pointSize: 10 }
|
||||
Layout.fillWidth: true
|
||||
font { pixelSize: 14 }
|
||||
wrapMode: Text.WordWrap
|
||||
text: "<b>Warning</b>: Edit only if 'VIRTUAL1' is not available<br/>" +
|
||||
"If so, please note that the virtual screen may be<br/>" +
|
||||
"unstable/unavailable depending on a graphic<br/>" +
|
||||
text: "<b>Warning</b>: Edit only if 'VIRTUAL1' is not available. " +
|
||||
"If so, please note that the virtual screen may be " +
|
||||
"unstable/unavailable depending on a graphic " +
|
||||
"card and its driver."
|
||||
}
|
||||
|
||||
|
||||
RowLayout {
|
||||
// Empty layout
|
||||
Layout.fillHeight: true
|
||||
|
|
|
@ -6,7 +6,7 @@ import VirtScreen.Backend 1.0
|
|||
|
||||
ColumnLayout {
|
||||
GroupBox {
|
||||
title: "Virtual Display"
|
||||
title: "Virtual Screen"
|
||||
Layout.fillWidth: true
|
||||
enabled: backend.virtScreenCreated ? false : true
|
||||
ColumnLayout {
|
||||
|
|
|
@ -104,7 +104,7 @@ ColumnLayout {
|
|||
readOnly: true
|
||||
selectByMouse: true
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pointSize: 12
|
||||
font.pixelSize: 14
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue