Replies: 1 comment 5 replies
-
I'm not sure I understand. Individual widgets in dvui are never in their own windows, and everything in dvui is in a single OS window. That OS window will do whatever your window manager tells it to, but the widgets inside don't participate. For example, a |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A bit related to this discussion: #189
When looking at the layouts demo, it seems those examples uses exact sizes:
https://github.com/david-vanderson/dvui/blob/main/src/Examples.zig#L1520
But this doesn't work in tiling window manager like sway, dwm, or river (unless you toggle to specific window to 'float'). I think a principle of such tiling WM's is that every window should be able have any size.
The following window (taken from the demo) works in 'floating mode', but not in tiling mode.
The expecting behavior would be that the dvui gui/widgets scales to window size given by the tiling WM.
float:


tiling:
Beta Was this translation helpful? Give feedback.
All reactions