From 19229cdf4db8fc505324603a7c9f224ea2ef15bc Mon Sep 17 00:00:00 2001 From: Ahmed Hosny Date: Mon, 1 Jul 2024 03:19:10 +0300 Subject: [PATCH] [SplitPane] Improve button labels in demo Improved the button labels in the SplitPane demo to be more descriptive. "Hide V First" and "Show V First" are now "Hide Left Pane" and "Show Left Pane". "Hide H First" and "Show H First" are now "Hide Top Pane" and "Show Top Pane". --- .../kotlin/org/jetbrains/compose/splitpane/demo/Main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/SplitPane/demo/src/jvmMain/kotlin/org/jetbrains/compose/splitpane/demo/Main.kt b/components/SplitPane/demo/src/jvmMain/kotlin/org/jetbrains/compose/splitpane/demo/Main.kt index a7e5b5bd06..d1ab5d2921 100644 --- a/components/SplitPane/demo/src/jvmMain/kotlin/org/jetbrains/compose/splitpane/demo/Main.kt +++ b/components/SplitPane/demo/src/jvmMain/kotlin/org/jetbrains/compose/splitpane/demo/Main.kt @@ -60,10 +60,10 @@ fun main() = singleWindowApplication( } Button(onClick = { splitterState.firstVisible = !splitterState.firstVisible }) { - Text(if (splitterState.firstVisible) "Hide V First" else "Show V First") + Text(if (splitterState.firstVisible) "Hide Left Pane" else "Show Left Pane") } Button(onClick = { hSplitterState.firstVisible = !hSplitterState.firstVisible }) { - Text(if (hSplitterState.firstVisible) "Hide H First" else "Show H First") + Text(if (hSplitterState.firstVisible) "Hide Top Pane" else "Show Top Pane") } OutlinedTextField(value = delta, onValueChange = { delta = it }, label = { Text("Delta") })