@@ -86,10 +86,10 @@ impl Program for ResizeIndicatorInternal {
8686 } else {
8787 "go-down-symbolic"
8888 } )
89- . size( 32 )
89+ . size( 20 )
9090 . prefer_svg( true )
9191 . apply( container)
92- . padding( 2 )
92+ . padding( 8 )
9393 . style( icon_container_style( ) )
9494 . width( Length :: Shrink )
9595 . apply( container)
@@ -106,10 +106,10 @@ impl Program for ResizeIndicatorInternal {
106106 } else {
107107 "go-next-symbolic"
108108 } )
109- . size( 32 )
109+ . size( 20 )
110110 . prefer_svg( true )
111111 . apply( container)
112- . padding( 4 )
112+ . padding( 8 )
113113 . style( icon_container_style( ) )
114114 . width( Length :: Shrink )
115115 . apply( container)
@@ -120,23 +120,11 @@ impl Program for ResizeIndicatorInternal {
120120 horizontal_space( 36 ) . into( )
121121 } ,
122122 row( vec![
123- text( & self . shortcut1)
124- . font( cosmic:: font:: FONT_SEMIBOLD )
125- . size( 14 )
126- . into( ) ,
127- text( fl!( "grow-window" ) )
128- . font( cosmic:: font:: FONT )
129- . size( 14 )
130- . into( ) ,
123+ text:: heading( & self . shortcut1) . into( ) ,
124+ text:: body( fl!( "grow-window" ) ) . into( ) ,
131125 horizontal_space( 40 ) . into( ) ,
132- text( & self . shortcut2)
133- . font( cosmic:: font:: FONT_SEMIBOLD )
134- . size( 14 )
135- . into( ) ,
136- text( fl!( "shrink-window" ) )
137- . font( cosmic:: font:: FONT )
138- . size( 14 )
139- . into( ) ,
126+ text:: heading( & self . shortcut2) . into( ) ,
127+ text:: body( fl!( "shrink-window" ) ) . into( ) ,
140128 ] )
141129 . apply( container)
142130 . center_x( )
@@ -158,10 +146,10 @@ impl Program for ResizeIndicatorInternal {
158146 } else {
159147 "go-previous-symbolic"
160148 } )
161- . size( 32 )
149+ . size( 20 )
162150 . prefer_svg( true )
163151 . apply( container)
164- . padding( 4 )
152+ . padding( 8 )
165153 . style( icon_container_style( ) )
166154 . height( Length :: Shrink )
167155 . apply( container)
@@ -181,10 +169,10 @@ impl Program for ResizeIndicatorInternal {
181169 } else {
182170 "go-up-symbolic"
183171 } )
184- . size( 32 )
172+ . size( 20 )
185173 . prefer_svg( true )
186174 . apply( container)
187- . padding( 4 )
175+ . padding( 8 )
188176 . style( icon_container_style( ) )
189177 . width( Length :: Shrink )
190178 . apply( container)
0 commit comments