feat: trying to figure out the layout
This commit is contained in:
parent
72616ba44a
commit
52e3b5d385
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in a new issue