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 androidx.compose.ui.window.application
|
||||||
import xyz.atnrch.wrench.display.WrenchDisplay
|
import xyz.atnrch.wrench.display.WrenchDisplay
|
||||||
import xyz.atnrch.wrench.logger.Logger
|
import xyz.atnrch.wrench.logger.Logger
|
||||||
import xyz.atnrch.wrench.scheduler.Watcher
|
import xyz.atnrch.wrench.watcher.Watcher
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@Preview
|
@Preview
|
||||||
|
|
|
@ -5,6 +5,8 @@ import androidx.compose.foundation.layout.fillMaxSize
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
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
|
import xyz.atnrch.wrench.display.status.WrenchStatus
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
|
@ -13,6 +15,10 @@ fun WrenchDisplay(
|
||||||
onStopButtonClick: () -> Unit,
|
onStopButtonClick: () -> Unit,
|
||||||
onAddButtonClick: () -> Unit
|
onAddButtonClick: () -> Unit
|
||||||
) {
|
) {
|
||||||
|
Box {
|
||||||
|
WrenchFileManagerInput()
|
||||||
|
WrenchFileManagerOutput()
|
||||||
|
}
|
||||||
Box(
|
Box(
|
||||||
contentAlignment = Alignment.BottomEnd,
|
contentAlignment = Alignment.BottomEnd,
|
||||||
modifier = Modifier.fillMaxSize()
|
modifier = Modifier.fillMaxSize()
|
||||||
|
|
|
@ -9,9 +9,9 @@ import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun WrenchFileManagerInput() {
|
fun WrenchFileManagerOutput() {
|
||||||
Box(
|
Box(
|
||||||
contentAlignment = Alignment.CenterStart,
|
contentAlignment = Alignment.CenterEnd,
|
||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
) {
|
) {
|
||||||
Column {
|
Column {
|
||||||
|
|
Reference in a new issue