mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #209] Is it possible to render elements on top of other elements? #143
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ranjan-purbey on GitHub (Apr 8, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/209
Going through the docs, I couldn't find a way to change the window background. So, I thought to draw a rectangle covering the entire window, and place other components on top of it. But, this will not work as children of a Box are stacked. Is there a way to achieve this? Is absolute positioning supported?
@ranjan-purbey commented on GitHub (Apr 9, 2019):
I need this for a file-explorer app that I am trying to write using proton-native.

As you can see in the image above, there is a lot of misalignment between icons and text. I think I can solve this if absolute positioning can be achieved. Any help will be appreciated.
@mischnic commented on GitHub (Apr 9, 2019):
Absolute positioning isn't possible, it's not currently implemented in the underlying libui Library: https://github.com/andlabs/libui/pull/332
@kusti8 commented on GitHub (Apr 12, 2019):
Once libui adds absolute positioning, then we can add yoga support which should make this a lot easier.