WindowPosition.Aligned is occupying screen insets (taskbar)
See original GitHub issueWindowPosition.Aligned
mentions in the docs that the Window will be aligned in the area that is not occupied by the screen insets (taskbar, OS menubar)
However, I’m not seeing such behavior.
With the following code:
val windowState = rememberWindowState(
position = WindowPosition.Aligned(Alignment.BottomEnd),
width = Dp.Unspecified,
height = Dp.Unspecified,
)
Window(
state = windowState,
undecorated = true,
resizable = false,
focusable = true,
alwaysOnTop = true,
onCloseRequest = {},
) {
Box {
Column {
Text("test1")
Text("test2")
Text("test3")
Text("test4")
}
}
}
Tried messing with all those attributes as well as removing the Box
, but nothing seems to change this.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Taskbar is stuck on the left side of my screen
After switching from portrait to landscape mode on my second monitor, my taskbar seems to be stuck on the left side of the...
Read more >Wrong window position values when program is being closed ...
On my Windows 7 desktop, I have the Windows Taskbar attached at the LEFT side of the screen (instead of default on the...
Read more >Finding the height of windows taskbar - MATLAB Answers
The height of the taskbar varies according to screen size. ... Note that the other properties of "insets" can be used if the...
Read more >4 Reasons Why You Should Move Your Windows Taskbar to ...
Windows has puts its taskbar along the bottom of the screen. But I keep mine on the right-hand side. Here's how to move...
Read more >Task window or main window opens minimized or cannot be ...
... of the screen; Task windows do not show on screen when opened; Visible in the Taskbar; Becomes visible when maximized from the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah right 😅
Yea it did solve, thanks!
I had tried that something like that, guess I was missing the
LaunchedEffect
😅