Skip to content

Commit

Permalink
DROID-3118 Widgets | Fix | Fix "Show all objects" button padding (#1858)
Browse files Browse the repository at this point in the history
(cherry picked from commit 024f67c)
  • Loading branch information
uburoiubu committed Dec 2, 2024
1 parent bf7b1f3 commit 2d4a4d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.colorResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -314,6 +315,8 @@ fun GalleryWidgetCard(
color = colorResource(id = R.color.glyph_active),
modifier = Modifier
.align(Alignment.Center)
.padding(horizontal = 12.dp),
textAlign = TextAlign.Center
)
}
}
Expand Down

0 comments on commit 2d4a4d7

Please sign in to comment.