File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ impl Content {
65
65
}
66
66
67
67
pub fn list_view < ' a > ( & ' a self , list : & ' a List ) -> Element < ' a , Message > {
68
- let cosmic_theme:: Spacing { space_xxs, .. } = theme:: active ( ) . cosmic ( ) . spacing ;
68
+ let cosmic_theme:: Spacing {
69
+ space_xxs, space_m, ..
70
+ } = theme:: active ( ) . cosmic ( ) . spacing ;
69
71
70
72
if self . tasks . is_empty ( ) {
71
73
return self . empty ( list) ;
@@ -92,7 +94,7 @@ impl Content {
92
94
. push ( delete_button) ;
93
95
94
96
let button = widget:: button ( row)
95
- . padding ( [ 0 , 18 ] )
97
+ . padding ( [ space_xxs , space_m ] )
96
98
. width ( Length :: Fill )
97
99
. height ( Length :: Shrink )
98
100
. style ( button_style ( false , true ) )
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ impl Details {
185
185
. add(
186
186
widget:: settings:: item:: builder( fl!( "priority" ) ) . control(
187
187
widget:: segmented_control:: horizontal( & self . priority_model)
188
+ . button_alignment( Alignment :: Center )
188
189
. width( Length :: Shrink )
189
190
. on_activate( Message :: PriorityActivate ) ,
190
191
) ,
You can’t perform that action at this time.
0 commit comments