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. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c9727d67c
commit
d14117849a
8 files changed
+214
-46
No files matched your search
@@ -270,8 +270,7 @@ pub fn structure(window: &mut Window, cx: &mut App) -> impl IntoElement + use<>
|
||||
.flex_wrap()
|
||||
.gap_6()
|
||||
.child(
|
||||
div().w(px(620.)).child(
|
||||
TableStructureEditor::new("devtools-structure", fields)
|
||||
div().w(px(660.)).child(TableStructureEditor::new("devtools-structure", fields)
|
||||
.on_change(move |next, _, cx| change(&edited, cx, |build| build.fields = next)),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user