File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/ui/components/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package org.schabi.newpipe.ui.components.common
33import android.content.res.Configuration
44import androidx.annotation.StringRes
55import androidx.compose.foundation.layout.Arrangement
6+ import androidx.compose.foundation.layout.PaddingValues
67import androidx.compose.foundation.layout.Row
78import androidx.compose.material.icons.Icons
89import androidx.compose.material.icons.filled.Info
@@ -26,7 +27,10 @@ fun IconButtonWithLabel(
2627 @StringRes label : Int ,
2728 onClick : () -> Unit ,
2829) {
29- FilledTonalButton (onClick = onClick) {
30+ FilledTonalButton (
31+ contentPadding = PaddingValues (vertical = 8 .dp, horizontal = 12 .dp),
32+ onClick = onClick
33+ ) {
3034 Row (
3135 horizontalArrangement = Arrangement .spacedBy(4 .dp),
3236 verticalAlignment = Alignment .CenterVertically ,
You can’t perform that action at this time.
0 commit comments