minor ui fixes

This commit is contained in:
vladimir.kuznetsov 2023-10-03 23:28:44 +05:00
parent 776ae04cbe
commit 7d4a01c757
5 changed files with 8 additions and 6 deletions

View file

@ -113,8 +113,7 @@ void InstallController::installServer(DockerContainer container, QJsonObject &co
ContainerProps::containerHumanNames().value(container) + tr(" is already installed on the server. "); ContainerProps::containerHumanNames().value(container) + tr(" is already installed on the server. ");
} }
if (installedContainers.size() > 1) { if (installedContainers.size() > 1) {
finishMessage += tr("\nAlready installed containers were found on the server. " finishMessage += tr("\nAdded containers that were already installed on the server");
"All installed containers have been added to the application");
} }
if (errorCode == ErrorCode::NoError) { if (errorCode == ErrorCode::NoError) {

View file

@ -114,7 +114,7 @@ DrawerType {
BasicButtonType { BasicButtonType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 8 Layout.topMargin: 24
defaultColor: "transparent" defaultColor: "transparent"
hoveredColor: Qt.rgba(1, 1, 1, 0.08) hoveredColor: Qt.rgba(1, 1, 1, 0.08)
@ -123,7 +123,7 @@ DrawerType {
textColor: "#D7D8DB" textColor: "#D7D8DB"
borderWidth: 1 borderWidth: 1
text: qsTr("Show content") text: qsTr("Show connection settings")
onClicked: { onClicked: {
configContentDrawer.visible = true configContentDrawer.visible = true

View file

@ -90,6 +90,9 @@ Button {
anchors.centerIn: parent anchors.centerIn: parent
Image { Image {
Layout.preferredHeight: 20
Layout.preferredWidth: 20
source: root.imageSource source: root.imageSource
visible: root.imageSource === "" ? false : true visible: root.imageSource === "" ? false : true

View file

@ -6,7 +6,7 @@ Text {
color: "#D7D8DB" color: "#D7D8DB"
font.pixelSize: 16 font.pixelSize: 16
font.weight: 500 font.weight: 600
font.family: "PT Root UI VF" font.family: "PT Root UI VF"
wrapMode: Text.WordWrap wrapMode: Text.WordWrap

View file

@ -248,7 +248,7 @@ PageType {
drawerHeight: 0.5 drawerHeight: 0.5
descriptionText: qsTr("Protocols") descriptionText: qsTr("Protocol")
headerText: qsTr("Protocol") headerText: qsTr("Protocol")
listView: ListViewWithRadioButtonType { listView: ListViewWithRadioButtonType {