|
@@ -22,15 +22,15 @@ fun Desktop(
|
|
|
BoxWithConstraints(
|
|
BoxWithConstraints(
|
|
|
modifier = modifier.padding(16.dp)
|
|
modifier = modifier.padding(16.dp)
|
|
|
) {
|
|
) {
|
|
|
- MemoryChart(
|
|
|
|
|
- modifier = Modifier.size(350.dp, 300.dp)
|
|
|
|
|
- .align(Alignment.BottomEnd)
|
|
|
|
|
- )
|
|
|
|
|
FolderView(
|
|
FolderView(
|
|
|
|
|
+ modifier = Modifier.size(constraints.maxWidth.dp, constraints.maxHeight.dp),
|
|
|
path = api.currentUser.userDirs.desktopDirectory,
|
|
path = api.currentUser.userDirs.desktopDirectory,
|
|
|
showHomeFolder = true,
|
|
showHomeFolder = true,
|
|
|
orientation = Orientation.Vertical,
|
|
orientation = Orientation.Vertical,
|
|
|
- modifier = Modifier.size(constraints.maxWidth.dp, constraints.maxHeight.dp)
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ MemoryChart(
|
|
|
|
|
+ modifier = Modifier.size(350.dp, 300.dp)
|
|
|
|
|
+ .align(Alignment.BottomEnd)
|
|
|
)
|
|
)
|
|
|
// ComposeWebView(
|
|
// ComposeWebView(
|
|
|
// modifier = Modifier.size(640.dp, 480.dp)
|
|
// modifier = Modifier.size(640.dp, 480.dp)
|