Skip to content
Snippets Groups Projects
Unverified Commit 4f41965d authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[ui] size tweaks

parent 539010ba
No related branches found
No related tags found
No related merge requests found
Pipeline #69796 failed
......@@ -54,7 +54,7 @@ ThemedPage {
Label {
text: qsTr("These techniques can bypass censorship, but are slower. Use them only when needed.")
color: "gray"
color: Material.foreground
visible: true
wrapMode: Text.Wrap
font.pixelSize: Theme.fontSize - 3
......@@ -94,14 +94,15 @@ ThemedPage {
Label {
text: qsTr("Traffic is obfuscated to bypass blocks")
color: "gray"
color: useBridgesCheckBox.enabled ? Material.foreground : Material.hintTextColor
visible: true
wrapMode: Text.Wrap
font.pixelSize: Theme.fontSize - 4
Layout.leftMargin: 35
font.pixelSize: Theme.fontSize - 5
Layout.leftMargin: 36
Layout.rightMargin: 15
Layout.bottomMargin: 5
Layout.preferredWidth: 240
Layout.topMargin: -5
Layout.preferredWidth: 220
}
MaterialCheckBox {
......@@ -122,14 +123,15 @@ ThemedPage {
Label {
text: qsTr("Snowflake needs Tor installed in your system")
color: "gray"
color: useSnowflake.enabled ? Material.foreground : Material.hintTextColor
visible: true
wrapMode: Text.Wrap
font.pixelSize: Theme.fontSize - 4
Layout.leftMargin: 35
font.pixelSize: Theme.fontSize - 5
Layout.leftMargin: 36
Layout.rightMargin: 15
Layout.bottomMargin: 5
Layout.preferredWidth: 240
Layout.topMargin: -5
Layout.preferredWidth: 220
}
Label {
......@@ -143,7 +145,7 @@ ThemedPage {
Label {
text: qsTr("UDP can make the VPN faster. It might be blocked on some networks.")
width: parent.width
color: "gray"
color: Material.foreground
visible: true
wrapMode: Text.Wrap
font.pixelSize: Theme.fontSize - 3
......
......@@ -116,6 +116,7 @@ int main(int argc, char **argv) {
});
QCommandLineOption webPortOption("web-port", QApplication::translate("main", "Web API port (default: 8080)"), "port", "8080");
parser.addOption(webPortOption);
// FIXME need to add note for the translation, on/off shouldn't be translated.
QCommandLineOption startVPNOption("start-vpn", QApplication::translate("main", "Start the VPN, either 'on' or 'off'."), "status", "");
parser.addOption(startVPNOption);
parser.process(app);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment