fix: list view padding
This commit is contained in:
parent
32a2ccbaf6
commit
505cea111d
1 changed files with 5 additions and 2 deletions
|
|
@ -2479,7 +2479,10 @@ impl Tab {
|
||||||
bool,
|
bool,
|
||||||
) {
|
) {
|
||||||
let cosmic_theme::Spacing {
|
let cosmic_theme::Spacing {
|
||||||
space_m, space_xxs, ..
|
space_m,
|
||||||
|
space_s,
|
||||||
|
space_xxs,
|
||||||
|
..
|
||||||
} = theme::active().cosmic().spacing;
|
} = theme::active().cosmic().spacing;
|
||||||
|
|
||||||
let TabConfig {
|
let TabConfig {
|
||||||
|
|
@ -2787,7 +2790,7 @@ impl Tab {
|
||||||
(
|
(
|
||||||
drag_col,
|
drag_col,
|
||||||
mouse_area::MouseArea::new(
|
mouse_area::MouseArea::new(
|
||||||
widget::column::with_children(children).padding([0, space_m]),
|
widget::column::with_children(children).padding([0, space_s]),
|
||||||
)
|
)
|
||||||
.with_id(Id::new("list-view"))
|
.with_id(Id::new("list-view"))
|
||||||
.on_press(|_| Message::Click(None))
|
.on_press(|_| Message::Click(None))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue