feat: trying to figure out the layout

This commit is contained in:
aro 2022-11-15 13:06:29 +01:00
parent 72616ba44a
commit 52e3b5d385
3 changed files with 9 additions and 3 deletions

View file

@ -8,7 +8,7 @@ import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import xyz.atnrch.wrench.display.WrenchDisplay
import xyz.atnrch.wrench.logger.Logger
import xyz.atnrch.wrench.scheduler.Watcher
import xyz.atnrch.wrench.watcher.Watcher
@Composable
@Preview

View file

@ -5,6 +5,8 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import xyz.atnrch.wrench.display.file.WrenchFileManagerInput
import xyz.atnrch.wrench.display.file.WrenchFileManagerOutput
import xyz.atnrch.wrench.display.status.WrenchStatus
@Composable
@ -13,6 +15,10 @@ fun WrenchDisplay(
onStopButtonClick: () -> Unit,
onAddButtonClick: () -> Unit
) {
Box {
WrenchFileManagerInput()
WrenchFileManagerOutput()
}
Box(
contentAlignment = Alignment.BottomEnd,
modifier = Modifier.fillMaxSize()

View file

@ -9,9 +9,9 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
@Composable
fun WrenchFileManagerInput() {
fun WrenchFileManagerOutput() {
Box(
contentAlignment = Alignment.CenterStart,
contentAlignment = Alignment.CenterEnd,
modifier = Modifier.fillMaxSize(),
) {
Column {