DB & Dev Tools · Databases: narrow boxes scroll or wrap; the form's rules tested
QueryPlanViewer's step column takes the label width and the table scrolls sideways past its least width; TableStructureEditor's rows stretch to a least width that scrolls sideways; RedisKeyBrowser's columns wrap below each other inside 280px. The form's rules are pure, parse_port and ready, with unit tests; gpui tests cover saving, a new connection refilling the form, another engine bringing its port, and a press on a row's button leaving the row alone.
This commit is contained in:
1 parent
c137ddb0f7
commit
0c8e0d47ba
8 files changed
+214
-46
No files matched your search
@@ -237,7 +237,7 @@ impl RenderOnce for RedisKeyBrowser {
|
||||
.child(
|
||||
div()
|
||||
.flex_1()
|
||||
.min_w(theme.label_width() * 2.)
|
||||
.min_w(theme.label_width())
|
||||
.flex()
|
||||
.flex_col()
|
||||
.gap_2()
|
||||
@@ -248,7 +248,7 @@ impl RenderOnce for RedisKeyBrowser {
|
||||
.child(format!("{} of {} keys", found.len(), self.keys.len()))
|
||||
.child(list),
|
||||
)
|
||||
.child(div().flex_1().min_w(theme.label_width() * 2.).child(detail))
|
||||
.child(div().flex_1().min_w(theme.label_width()).child(detail))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user