mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-03 11:17:25 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74c245a7d2 | ||
|
|
135ecb861d |
No files matched your search
@@ -730,11 +730,12 @@ private fun MarkedStationRow(
|
||||
)
|
||||
// "标记" column: pin icon (only when the grid has multiple marks) sits
|
||||
// left of the label; pinned (first) row's icon is grey, others pale
|
||||
// yellow — tapping moves that mark to the top.
|
||||
// yellow — tapping moves that mark to the top. Wrap-content (no weight),
|
||||
// same as the count column of the QSO rows, so the callsign column next
|
||||
// to it takes the leftover width while these glyphs stay row-centred.
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.Center,
|
||||
modifier = Modifier.weight(1f)
|
||||
horizontalArrangement = Arrangement.Center
|
||||
) {
|
||||
if (showPin) {
|
||||
Icon(
|
||||
@@ -807,8 +808,13 @@ private fun WorkedGridCallRow(
|
||||
else stringResource(R.string.grid_qso_count_many, callQsos.size),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||
textAlign = androidx.compose.ui.text.style.TextAlign.Center,
|
||||
modifier = Modifier.weight(1f)
|
||||
textAlign = androidx.compose.ui.text.style.TextAlign.Center
|
||||
// No weight: the count column wraps its content, so the callsign
|
||||
// column (weight 1f, opposite the date column) absorbs the slack
|
||||
// that used to sit left of the centred count text. The count text
|
||||
// keeps its exact on-screen position: with equal weights on the
|
||||
// outer columns the wrap-content middle column starts where the
|
||||
// centred text used to start, i.e. its centre stays at row centre.
|
||||
)
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[versions]
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionCode = "555"
|
||||
appVersionCode = "557"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionName = "4.4.8-ba7opf.3"
|
||||
appVersionName = "4.4.8-ba7opf.4"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
compileSdk = "37"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
|
||||
Reference in new issue
Block a user