Narrow list panes: readable bar title, More overflow menu, rows keep status and actions
The floating bar keeps the title at its own width (up to half the bar) and moves overflowable actions into one More menu instead of squeezing them below their touch targets. List rows keep their leading status avatar and More actions at any list-pane width; the time moves under the subtitle.
This commit is contained in:
@@ -26,9 +26,11 @@ component, on both hosts.
|
||||
Cupertino uses `separator` at 1 physical pixel; Material uses
|
||||
`outlineVariant` at 1. Lists turn it off for the last row of a group.
|
||||
- Compact mode: when the row is narrower than `kAppListRowCompactWidth`
|
||||
(280), it drops the avatar, the time and the menu, and shows
|
||||
`compactSubtitle` if one is given. `keepMenuWhenCompact` keeps the menu
|
||||
(chat, pipeline schedules).
|
||||
(280), it keeps the avatar (a run's status) and the menu, moves the time
|
||||
to its own line under the subtitle and shows `compactSubtitle` if one is
|
||||
given. Only below `kAppListRowMinimalWidth` (160, narrower than any list
|
||||
pane) does it drop the avatar and menu so the text never overflows.
|
||||
(`keepMenuWhenCompact` is gone: every row keeps its menu.)
|
||||
- No fixed heights. Padding is 16 horizontal and 10 vertical. At 2x text in
|
||||
a 320px row everything ellipsises without overflowing.
|
||||
- Test keys: `appListRowSurfaceKey` and `appListRowDividerKey`.
|
||||
|
||||
Reference in New Issue
Block a user