ui: make the sidebar rows compact again
Both the project band and the session rows are dense 56px list tiles now (measured 54), down from 72. Session titles are 14 and project names 14.5, so the list stays readable while the hierarchy keeps its tinted band. The project + and the session ⋮ still share one vertical line. 0.3.21 (321).
This commit is contained in:
1 parent
73af9d851b
commit
ff0dbf1b37
5 files changed
+23
-4
No files matched your search
@@ -37,7 +37,10 @@ void main() {
|
||||
of: find.text('标签页拖拽与分屏'),
|
||||
matching: find.byType(ListTile),
|
||||
);
|
||||
expect(tester.getSize(header).height, tester.getSize(row).height);
|
||||
final headerHeight = tester.getSize(header).height;
|
||||
expect(tester.getSize(row).height, headerHeight);
|
||||
// Compact, close to the old 56px project band.
|
||||
expect(headerHeight, lessThanOrEqualTo(58));
|
||||
|
||||
// The project's + and the session's ⋮ share one vertical line.
|
||||
final add = tester.getCenter(find.byTooltip('在此项目新会话'));
|
||||
|
||||
Reference in new issue
Block a user