Created attachment 6687 Screenshot of the problem When weather report is larger than default setting (for instance, with 8 days in columns), window size isn't adjusted to fit the whole report. Instead the report is clipped on the right side and scrolling must be performed unless the user adjusts window size. I understand with GTK+ containers it is trivial to make the window fit the whole report if the window fits in the screen.
Looking at the code, it is limited to show only one week at a glance. Weather reports for more than 3 days are not very accurate btw. I do not remember my previous decision-making, but maybe I found it looked ugly when the window width becomes bigger. Also, one needs to account for the panel size (deskbar/vertical mode), and people will surely use different panel-sizes in those modes, which complicates things. While this auto-sizing works for most people, seemingly it does not satisfy everyone. One solution would be to remember the window size and restore it, but someone has yet to implement this.
Yes, that would be a good solution. Another option is a preference on whether user wants auto-fit or not. I would set it by default to on, but if you think different it can be also to off by default as long as there is an option. And, BTW, one thing doesn't exclude the other. There may be an option and window size be saved as well.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin/-/issues/3. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev