Merge pull request #307 from git-f0x/master
Match divider padding to design
This commit is contained in:
commit
5f8d25e4d9
1 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ use cosmic::{
|
||||||
subscription::{self, Subscription},
|
subscription::{self, Subscription},
|
||||||
//TODO: export in cosmic::widget
|
//TODO: export in cosmic::widget
|
||||||
widget::{
|
widget::{
|
||||||
horizontal_rule,
|
container, horizontal_rule,
|
||||||
scrollable::{AbsoluteOffset, Viewport},
|
scrollable::{AbsoluteOffset, Viewport},
|
||||||
},
|
},
|
||||||
Alignment,
|
Alignment,
|
||||||
|
|
@ -2651,7 +2651,7 @@ impl Tab {
|
||||||
)));
|
)));
|
||||||
|
|
||||||
if count > 0 {
|
if count > 0 {
|
||||||
children.push(horizontal_rule(1).into());
|
children.push(container(horizontal_rule(1)).padding([0, space_xxxs]).into());
|
||||||
y += 1;
|
y += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2880,7 +2880,7 @@ impl Tab {
|
||||||
(
|
(
|
||||||
drag_col,
|
drag_col,
|
||||||
mouse_area::MouseArea::new(
|
mouse_area::MouseArea::new(
|
||||||
widget::column::with_children(children).padding([0, space_s + 4]),
|
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