Skip to content

Commit

Permalink
Fix db inline menu
Browse files Browse the repository at this point in the history
- Fix #5123
- Fix link to documentation
  • Loading branch information
uglide committed Feb 8, 2022
1 parent 268ef55 commit 2842907
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/qml/connections-tree/menu/database.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RowLayout {
id: root

focus: true
spacing: 0

state: "menu"

Expand Down Expand Up @@ -144,6 +145,8 @@ RowLayout {
id: filterMenu

Layout.fillWidth: true
Layout.fillHeight: true
Layout.topMargin: PlatformUtils.isOSX() ? -3 : 0

property int btnWidth: PlatformUtils.isOSXRetina(Screen)? 18 : 22
property int btnHeight: PlatformUtils.isOSXRetina(Screen)? 18 : 22
Expand All @@ -152,8 +155,13 @@ RowLayout {
id: filterCombobox
objectName: "rdm_inline_menu_filter_field"
editable: true
Layout.fillWidth: true
indicator.width: 30

Layout.preferredWidth: connectionsTree.width * 0.4
Layout.preferredHeight: PlatformUtils.isOSX()? 25 : 30

indicator.width: PlatformUtils.isOSX()? 30 : 40
indicator.height: PlatformUtils.isOSX()? 25 : 30

selectTextByMouse: true
editText: styleData.value["filter"]
model: styleData.value["filterHistory"]
Expand Down Expand Up @@ -212,7 +220,7 @@ RowLayout {
imgWidth: filterMenu.btnWidth
imgHeight: filterMenu.btnHeight
iconSource: PlatformUtils.getThemeIcon("help.svg")
onClicked: Qt.openUrlExternally("http://docs.resp.app/en/latest/features/#search-in-connection-tree")
onClicked: Qt.openUrlExternally("https://docs.resp.app/en/latest/lg-keyspaces/#use-specific-scan-filter-to-reduce-loaded-amount-of-keys")
}

ImageButton {
Expand Down

0 comments on commit 2842907

Please sign in to comment.