1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3118 Widgets | Fix | Fix "Show all objects" button padding (#1858)

This commit is contained in:
Evgenii Kozlov 2024-12-02 12:34:29 +01:00 committed by GitHub
parent d3a3c70e9e
commit 024f67c617
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -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
@ -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
)
}
}