mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-08 13:37: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
|
// "标记" column: pin icon (only when the grid has multiple marks) sits
|
||||||
// left of the label; pinned (first) row's icon is grey, others pale
|
// 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(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.Center,
|
horizontalArrangement = Arrangement.Center
|
||||||
modifier = Modifier.weight(1f)
|
|
||||||
) {
|
) {
|
||||||
if (showPin) {
|
if (showPin) {
|
||||||
Icon(
|
Icon(
|
||||||
@@ -807,8 +808,13 @@ private fun WorkedGridCallRow(
|
|||||||
else stringResource(R.string.grid_qso_count_many, callQsos.size),
|
else stringResource(R.string.grid_qso_count_many, callQsos.size),
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodySmall,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
textAlign = androidx.compose.ui.text.style.TextAlign.Center,
|
textAlign = androidx.compose.ui.text.style.TextAlign.Center
|
||||||
modifier = Modifier.weight(1f)
|
// 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(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[versions]
|
[versions]
|
||||||
#noinspection UnusedVersionCatalogEntry
|
#noinspection UnusedVersionCatalogEntry
|
||||||
appVersionCode = "555"
|
appVersionCode = "557"
|
||||||
#noinspection UnusedVersionCatalogEntry
|
#noinspection UnusedVersionCatalogEntry
|
||||||
appVersionName = "4.4.8-ba7opf.3"
|
appVersionName = "4.4.8-ba7opf.4"
|
||||||
#noinspection UnusedVersionCatalogEntry
|
#noinspection UnusedVersionCatalogEntry
|
||||||
compileSdk = "37"
|
compileSdk = "37"
|
||||||
#noinspection UnusedVersionCatalogEntry
|
#noinspection UnusedVersionCatalogEntry
|
||||||
|
|||||||
Reference in new issue
Block a user