mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[GH-ISSUE #113] Not expanding on linux? #68
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#68
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 @utvk on GitHub (May 6, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/113
Hi,
wonder if this is a bug on linux? Or misunderstanding?
With the code below I would expect both the button and the textinput to expand, when resizing the window in the horizontal direction. This is because grid children should have extend set to default value.
But it doesn't seem to stretch out the controls, the width stay the same?
@SkyzohKey commented on GitHub (May 7, 2018):
A screenshot is always appreciated when reporting UI glitches 😉
@kusti8 commented on GitHub (May 7, 2018):
Grid is very weird with how it works. Try changing the align properties to only have it align one way and then try again.
@utvk commented on GitHub (May 7, 2018):
Yea, it's a bit strange. Worked as expected when align set to {h: false, v: true} Thanks @kusti8 !
So to recap (with some added screenshots now, sorry):
Works fine and controlled are stretched.
When I removed the align properties, the controls doesn't stretch.
Not sure if this is a bug or not, but maybe should be mentioned in the docs as it's a little confusing as I was thinking the expand property should handle this.