feat: done vertical arrangement good

This commit is contained in:
aro 2022-11-24 15:27:48 +01:00
parent abbf8e2ecf
commit ebf9714183
4 changed files with 8 additions and 6 deletions

View file

@ -31,9 +31,9 @@ tasks.withType<KotlinCompile> {
compose.desktop {
application {
mainClass = "MainKt"
mainClass = "xyz.atnrch.wrench.WrenchApp"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.AppImage)
packageName = "Wrench"
packageVersion = "1.0.0"
}

View file

@ -10,7 +10,6 @@ import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.unit.ExperimentalUnitApi
import androidx.compose.ui.unit.TextUnit
import androidx.compose.ui.unit.TextUnitType
import androidx.compose.ui.unit.dp
import xyz.atnrch.wrench.components.center.dialog.EntryDialog
import xyz.atnrch.wrench.ui.Fonts
import xyz.atnrch.wrench.watcher.WatcherEntry
@ -31,7 +30,6 @@ fun WatcherTextEntry(entry: WatcherEntry) {
dialogState = true
}
)
Spacer(Modifier.height(15.dp))
if (dialogState) {
EntryDialog(onStateChange = { dialogState = it })

View file

@ -26,7 +26,9 @@ fun InputEntries(
.border(BorderStroke(4.dp, UIColors.ORANGE), RectangleShape)
) {
InputTopText()
Column {
Column(
verticalArrangement = Arrangement.spacedBy(15.dp)
) {
watcherManager.getEntries().forEach {
WatcherTextEntry(it)
}

View file

@ -22,7 +22,9 @@ fun OutputEntries() {
.border(BorderStroke(4.dp, UIColors.STRESS), RectangleShape)
) {
OutputTopText()
Column {
Column(
verticalArrangement = Arrangement.spacedBy(15.dp)
) {
for (i in 0..5) {
DummyTextEntry()
}