-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
CenterOnScreen not working for FixedSize Window #2550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We prefer to have one bug report per issue because it is much more clear (especially if a PR is aiming to fix one issue but the issue remains open afterwards because the other bugs in the issue are not fixed). It would be great if we could get working, minimal code examples for reproducing issues (no screenshots of code please and not parts of code). |
After editing properties of a widget you need to call |
Thank you for answering. It was very useful. If you find a solution for the
CenterOnScreen() function as well, please let me know. Thank you very much
for the attenzione.
Il ven 15 ott 2021, 15:16 Andy Williams ***@***.***> ha
scritto:
… After editing properties of a widget you need to call Refresh. You can
get this behaviour back by making the SetText the last call in your
function as it will refresh and apply all the settings you have made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2550 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBGTOGZE2EY2EWOYA25XB3UHASULANCNFSM5F74IFXA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I cannot replicate the center on screen issue, perhaps it is Linux (Mint?) specific. |
Maybe the center on screen is not a real issue. $ hostnamectl
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-9-amd64
Architecture: x86-64 $ cat /usr/share/gnome/gnome-version.xml
<?xml version="1.0"?>
<gnome-version>
<platform>3</platform>
<minor>38</minor>
<micro>5</micro>
<distributor>Debian</distributor>
</gnome-version> |
When there is a second screen active where does the window appear? |
It appears a little bit moved to the lower right corner (do you want me to run a snippet with a fixed size window and post the screen shots?) |
That could be helpful thanks. There a couple of different ways the positioning could be off and seeing it will help. |
Fixed in v2.1.2 |
Good evening, thanks for the information. I'll keep practicing with Fyne. I
think he has already reached a good maturity, I hope that many more tools
will be introduced in the future.
Good job.
Il giorno mar 7 dic 2021 alle ore 01:12 Andy Williams <
***@***.***> ha scritto:
… Fixed in v2.1.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2550 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBGTOFTZFFXPGSOF7KQXNLUPVGNPANCNFSM5F74IFXA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Describe the bug:
Good evening. I have some problems found after updating Fyne V. 2.0 to Version V. 2.1. The fields of the struct Label "Alignment fyne.TextAlign" and "TextStyle fyne.TextStyle", which worked perfectly with V. 2.0, do not work after the update to V. 2.1. Another problem, the "CenterOnScreen ()" function, which should place the window in the center of the screen, which worked before the update, with the new version, unfortunately it positions the window lower and to the right of the center of the screen. I hope that these problems that I have encountered can be solved, and in any case, I take advantage of the opportunity to compliment the excellent work done.
To Reproduce:
Steps to reproduce the behaviour:
Screenshots:
Example code:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: