xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.72k stars 95 forks source link

Maintain software window size when increasing or decreasing screen size #1796

Open WritingWithFire opened 1 month ago

WritingWithFire commented 1 month ago

Is your feature request related to a problem? Please describe. 当接入或移除一块屏幕后,软件的窗口大小会被自动重置为一个很小的大小,包括弹出的悬浮窗的大小也会被重置,每次都要花点时间调回来

Describe the solution you'd like 在首选项里面增加一个设置项,可以选择记住主窗口和悬浮窗口的大小,可以在屏幕变动的时候保持其大小不变

Additional context 这个功能适用于整天背着笔记本电脑在图书馆、办公室、实验室、教室乱跑的学生党,对于有固定生活的人来说意义不大。。。。。

github-actions[bot] commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.

Is your feature request related to a problem? Please describe. When a screen is connected or removed, the window size of the software will be automatically reset to a very small size, including the size of the pop-up floating window. It will take some time to adjust it back every time.

Describe the solution you'd like Add a setting item in the preferences, you can choose to remember the size of the main window and floating window, and keep their sizes unchanged when the screen changes.

Additional context This function is suitable for students who carry laptops around in libraries, offices, laboratories, and classrooms all day long. It is of little significance to people with a fixed life. . . . .