lallulli / songpress

Songpress
https://www.skeed.it/songpress
Other
29 stars 6 forks source link

Please remember window size #47

Open AnniePerson opened 4 years ago

AnniePerson commented 4 years ago

Every time I start SongPress it opens in a very small window and my first action is maximize that window. I would appreciate that SongPress remembers the window size.

Axel-Erfurt commented 3 years ago

You can change the window size in src/xrc/songpress.xrc line 5 for xample

<size>1000,850</size>

AnniePerson commented 3 years ago

Thanks for letting me know. Alas I cannot change that easily: I'm using a precompiled V1.7.2 from https://github.com/lallulli/songpress/releases/

Axel-Erfurt commented 3 years ago

Your OS is Windows?

What is your screen size or what size do you want?

AnniePerson commented 3 years ago

My OS is Win 10 2004 I work on different computers / monitors 1366 x 768, 1024 x 1280 (Portrait), 1280 x 800 So my prefferred solution would be saving window size and position as well as the position of the split bar between text and preview sub-window when SongPress is closed and restoring these values on next start. If I had to choose a fixed size I would set it to 1024 x 800

Axel-Erfurt commented 3 years ago

Sorry I can not make an exe file for Windows, the last Windows Version I have used was XP (long ago)

You do not have python3 on your Windows?

In Linux the position of the split bar will be restored at the next start.

AnniePerson commented 3 years ago

Maybe Lalulli can integrate something in the next Windows version. I don't have Python on my computer. Would be definitely nice to learn, but currentyl I don't have the time

Axel-Erfurt commented 3 years ago

One line for Maximize would be enough. In SongpressFrame.py line 343

after

MyUpdateDialog.check_and_update(self.frame, self.pref)

self.frame.Maximize(True)

and it starts maximized.