[GH-ISSUE #186] Call Area.onSizeChange on initial render #121

Closed
opened 2026-05-05 11:45:34 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mischnic on GitHub (Nov 9, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/186

There is currently no way to know the area size on the initial render. So using the width/height for drawing only works after resizing.

Originally created by @mischnic on GitHub (Nov 9, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/186 There is currently no way to know the area size on the initial render. So using the width/height for drawing only works after resizing.
Author
Owner

@kusti8 commented on GitHub (Dec 22, 2018):

It seems to me that this works. When I run area.js then the height gets immediately updated on render.

<!-- gh-comment-id:449603899 --> @kusti8 commented on GitHub (Dec 22, 2018): It seems to me that this works. When I run `area.js` then the height gets immediately updated on render.
Author
Owner

@mischnic commented on GitHub (Dec 27, 2018):

area.js looks like this for me before resizing the window (which sets the height). Using GTK on macOS works correctly though.
bildschirmfoto 2018-12-27 um 19 44 58

<!-- gh-comment-id:450208453 --> @mischnic commented on GitHub (Dec 27, 2018): `area.js` looks like this for me before resizing the window (which sets the height). Using GTK on macOS works correctly though. ![bildschirmfoto 2018-12-27 um 19 44 58](https://user-images.githubusercontent.com/4586894/50490920-e8eacd00-0a0f-11e9-8e9d-1948a707a43d.png)
Author
Owner

@kusti8 commented on GitHub (Jan 19, 2020):

Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.

<!-- gh-comment-id:576029362 --> @kusti8 commented on GitHub (Jan 19, 2020): Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#121
No description provided.