mirror of
https://github.com/torlando-tech/columba.git
synced 2025-12-22 05:37:07 +00:00
fix: reposition scale bar to bottom-right near FABs
Move scale bar from bottom-left to bottom-right, positioned to the left of the My Location button for better visual grouping with map controls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -515,13 +515,13 @@ fun MapScreen(
|
||||
)
|
||||
}
|
||||
|
||||
// Scale bar (bottom left, above navigation bar)
|
||||
// Scale bar (bottom right, next to My Location button)
|
||||
ScaleBar(
|
||||
metersPerPixel = metersPerPixel,
|
||||
modifier = Modifier
|
||||
.align(Alignment.BottomStart)
|
||||
.align(Alignment.BottomEnd)
|
||||
.navigationBarsPadding()
|
||||
.padding(start = 16.dp, bottom = 96.dp), // Above bottom navigation bar
|
||||
.padding(end = 72.dp, bottom = 172.dp), // Left of My Location button
|
||||
)
|
||||
|
||||
// FABs positioned above navigation bar
|
||||
|
||||
Reference in New Issue
Block a user