File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl<Message: TabMessage + 'static> Tab<Message> {
201201 . clone( )
202202 . apply( widget:: container)
203203 . width( Length :: Shrink )
204- . padding( [ 2 , 4 ] )
204+ . padding( [ 2 , 4 , 2 , 8 ] )
205205 . center_y( Length :: Fill )
206206 . into( ) ,
207207 tab_text( self . title, self . active)
@@ -213,7 +213,7 @@ impl<Message: TabMessage + 'static> Tab<Message> {
213213 close_button
214214 . apply( widget:: container)
215215 . width( Length :: Shrink )
216- . padding( [ 2 , 4 ] )
216+ . padding( [ 2 , 12 , 2 , 4 ] )
217217 . center_y( Length :: Fill )
218218 . align_x( alignment:: Horizontal :: Right )
219219 . into( ) ,
@@ -305,8 +305,8 @@ where
305305 & limits,
306306 Length :: Fill ,
307307 Length :: Fill ,
308- 0 . into ( ) ,
309- 8 .,
308+ Padding :: ZERO ,
309+ 0 .,
310310 cosmic:: iced:: Alignment :: Center ,
311311 if size. width >= CLOSE_BREAKPOINT as f32 {
312312 & self . elements
You can’t perform that action at this time.
0 commit comments