for api servers, removed the ability to select a container

This commit is contained in:
vladimir.kuznetsov 2024-02-21 22:57:15 +05:00
parent 89d0a8107d
commit b3ed57aee7
3 changed files with 11 additions and 2 deletions

View file

@ -193,7 +193,7 @@ PageType {
LabelTextType {
id: expandedServersMenuDescription
Layout.bottomMargin: 24
Layout.bottomMargin: ServersModel.isDefaultServerFromApi ? 69 : 24
Layout.fillWidth: true
horizontalAlignment: Qt.AlignHCenter
verticalAlignment: Qt.AlignVCenter
@ -204,6 +204,9 @@ PageType {
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
spacing: 8
visible: !ServersModel.isDefaultServerFromApi
onVisibleChanged: expandedServersMenuDescription.Layout
DropDownType {
id: containersDropDown