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:
nrobi144
2026-04-19 05:52:02 +03:00
parent 200c5227fc
commit 486ff2e8cf
@@ -817,6 +817,7 @@ private fun WorkspaceCard(
} }
// Active indicator // Active indicator
if (isActive) { if (isActive) {
Spacer(Modifier.width(8.dp))
Icon( Icon(
Icons.Default.Check, Icons.Default.Check,
"Active", "Active",
@@ -929,7 +930,7 @@ private fun WorkspaceEditorDialog(
onClick = { layoutMode = LayoutMode.SINGLE_PANE }, onClick = { layoutMode = LayoutMode.SINGLE_PANE },
shape = SegmentedButtonDefaults.itemShape(0, 2), shape = SegmentedButtonDefaults.itemShape(0, 2),
) { ) {
Text("Single Pane") Text("Single", maxLines = 1)
} }
SegmentedButton( SegmentedButton(
selected = layoutMode == LayoutMode.DECK, selected = layoutMode == LayoutMode.DECK,