Alex Styl
03/24/2024, 4:32 AMTaha
03/24/2024, 9:10 PMundecorated
and transparent
to true and wrap everything in a surface then i can control the shadow and radius throug the surface
Window(
onCloseRequest = ::exitApplication,
undecorated = true,
transparent = true
){
Surface(
modifier = Modifier
.fillMaxSize()
.padding(5.dp)
.shadow(3.dp, RoundedCornerShape(10.dp)),
color = MaterialTheme.colorScheme.surface,
shape = RoundedCornerShape(10.dp),
elevation = 40.dp
) {
WindowDraggableArea {
App()
}
}
}
Taha
03/24/2024, 9:10 PMGarret Yoder
03/25/2024, 12:53 PMAlex Styl
03/27/2024, 2:47 AMGarret Yoder
03/27/2024, 1:52 PMGarret Yoder
03/27/2024, 1:53 PMGarret Yoder
03/27/2024, 1:54 PMAlex Styl
03/28/2024, 12:29 AM