mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
fix(desktop): UI polish — single-line layout toggle, checkmark margin
- Shorten "Single Pane" to "Single" in SegmentedButton to prevent wrapping - Add 8dp left margin before checkmark in workspace card Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
200c5227fc
commit
486ff2e8cf
+2
-1
@@ -817,6 +817,7 @@ private fun WorkspaceCard(
|
||||
}
|
||||
// Active indicator
|
||||
if (isActive) {
|
||||
Spacer(Modifier.width(8.dp))
|
||||
Icon(
|
||||
Icons.Default.Check,
|
||||
"Active",
|
||||
@@ -929,7 +930,7 @@ private fun WorkspaceEditorDialog(
|
||||
onClick = { layoutMode = LayoutMode.SINGLE_PANE },
|
||||
shape = SegmentedButtonDefaults.itemShape(0, 2),
|
||||
) {
|
||||
Text("Single Pane")
|
||||
Text("Single", maxLines = 1)
|
||||
}
|
||||
SegmentedButton(
|
||||
selected = layoutMode == LayoutMode.DECK,
|
||||
|
||||
Reference in New Issue
Block a user