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:
+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