Skip to content

Commit

Permalink
fix: match divider padding to design
Browse files Browse the repository at this point in the history
  • Loading branch information
git-f0x authored Jul 31, 2024
1 parent 3b05c5d commit 4129ab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use cosmic::{
subscription::{self, Subscription},
//TODO: export in cosmic::widget
widget::{
horizontal_rule,
container, horizontal_rule,
scrollable::{AbsoluteOffset, Viewport},
},
Alignment,
Expand Down Expand Up @@ -2651,7 +2651,7 @@ impl Tab {
)));

if count > 0 {
children.push(horizontal_rule(1).into());
children.push(container(horizontal_rule(1)).padding([0, space_xxxs]).into());
y += 1;
}

Expand Down Expand Up @@ -2880,7 +2880,7 @@ impl Tab {
(
drag_col,
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"))
.on_press(|_| Message::Click(None))
Expand Down

0 comments on commit 4129ab9

Please sign in to comment.