Replies: 2 comments 2 replies
-
You are right these properties are not accessible with the public API - in general it leads to bad UX patterns. However we do agree that remembering positions would be good. Some OS do this already and others do not. For this reason we have a ticket to track that being added in Fyne so you never have to worry about adding it #554 . |
Beta Was this translation helpful? Give feedback.
0 replies
-
I guess that makes this a duplicate issue to the one l linked, so I will close this one. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just got started using Fyne, and I am impressed with what I can do with it. That said, I am not sure if I am seeing things correctly.
I know that I can
Resize()
a window, that is not a problem. However, what I cannot seemingly do is set its current position. Also, I don't seem to have access as a getter to the current size or position of said window. My reasoning, before this gets asked, is that I would like to save using the Preferences API the current size and position of the window, so when the user relaunches the application, the window returns to the size and position it was last in. I was going to implement it in themyWindow.SetCloseIntercept(func)
method.Any help on this matter would be most appreciated.
Beta Was this translation helpful? Give feedback.
All reactions