From bc1b7989a132ae53f75816e8e07ce5fb771cb1a1 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Wed, 28 Aug 2024 20:05:41 +0200 Subject: [PATCH] Fix lay-outing issues --- app/desktop/src/windowsMain/kotlin/Platform.kt | 1 - app/shared/src/commonMain/kotlin/components/SoundContainer.kt | 4 ++-- build.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/desktop/src/windowsMain/kotlin/Platform.kt b/app/desktop/src/windowsMain/kotlin/Platform.kt index d82001a..ca19403 100644 --- a/app/desktop/src/windowsMain/kotlin/Platform.kt +++ b/app/desktop/src/windowsMain/kotlin/Platform.kt @@ -38,7 +38,6 @@ private class WindowsPlatform : IPlatform { setToken(token) } catch (e: Exception) { e.printStackTrace() - Thread.sleep(50000) } startApplication() } else { diff --git a/app/shared/src/commonMain/kotlin/components/SoundContainer.kt b/app/shared/src/commonMain/kotlin/components/SoundContainer.kt index 1183396..e83e92c 100644 --- a/app/shared/src/commonMain/kotlin/components/SoundContainer.kt +++ b/app/shared/src/commonMain/kotlin/components/SoundContainer.kt @@ -141,8 +141,8 @@ private fun SoundGroup( FlowGrid( GridCells.Adaptive(160.dp), group.sounds, - horizontalArrangement = Arrangement.spacedBy(5.dp), - verticalArrangement = Arrangement.spacedBy(5.dp), + horizontalArrangement = Arrangement.spacedBy(3.dp), + verticalArrangement = Arrangement.spacedBy(3.dp), modifier = Modifier.canClearFocus() ) { (id, name, _, description, emoji) -> SoundCard( diff --git a/build.gradle.kts b/build.gradle.kts index 54e4f12..9a972a3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { allprojects { group = "dev.schlaubi.tonbrett" - version = "1.21.3" + version = "1.21.4" repositories { mavenCentral()