Skip to content

Commit f79a564

Browse files
committed
Fix db inline menu
- Fix RedisInsight#5123 - Fix link to documentation
1 parent 268ef55 commit f79a564

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/qml/connections-tree/menu/database.qml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RowLayout {
1010
id: root
1111

1212
focus: true
13+
spacing: 0
1314

1415
state: "menu"
1516

@@ -144,6 +145,8 @@ RowLayout {
144145
id: filterMenu
145146

146147
Layout.fillWidth: true
148+
Layout.fillHeight: true
149+
Layout.topMargin: PlatformUtils.isOSX() ? -3 : 0
147150

148151
property int btnWidth: PlatformUtils.isOSXRetina(Screen)? 18 : 22
149152
property int btnHeight: PlatformUtils.isOSXRetina(Screen)? 18 : 22
@@ -152,8 +155,13 @@ RowLayout {
152155
id: filterCombobox
153156
objectName: "rdm_inline_menu_filter_field"
154157
editable: true
155-
Layout.fillWidth: true
156-
indicator.width: 30
158+
159+
Layout.preferredWidth: connectionsTree.width * 0.4
160+
Layout.preferredHeight: PlatformUtils.isOSX()? 25 : 30
161+
162+
indicator.width: PlatformUtils.isOSX()? 30 : 40
163+
indicator.height: PlatformUtils.isOSX()? 25 : 30
164+
157165
selectTextByMouse: true
158166
editText: styleData.value["filter"]
159167
model: styleData.value["filterHistory"]
@@ -212,7 +220,7 @@ RowLayout {
212220
imgWidth: filterMenu.btnWidth
213221
imgHeight: filterMenu.btnHeight
214222
iconSource: PlatformUtils.getThemeIcon("help.svg")
215-
onClicked: Qt.openUrlExternally("http://docs.resp.app/en/latest/features/#search-in-connection-tree")
223+
onClicked: Qt.openUrlExternally("https://docs.resp.app/en/latest/lg-keyspaces/#use-specific-scan-filter-to-reduce-loaded-amount-of-keys")
216224
}
217225

218226
ImageButton {

0 commit comments

Comments
 (0)