Remove magic numbers, increase width of initial window. Previous was about 30 chars. That gets eaten up qith 4 char indents and variable names. New window size is approximately 72 chars on my screen.
Details
Details
- Reviewers
rempt - Group Reviewers
Krita - Maniphest Tasks
- T7627: Generic Scripter UI improvements task
- Commits
- R37:2c43afe15f8e: Scripter - remove magic numbers, increase initial window width
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I had thought about doing it as a setting that stored the previous size (perhaps geometry) of the scripter window as at close. Anything else would require a line entry in the settings dialog => new strings in any event.
I need to work out how the Krita settings work first.
Comment Actions
Scripter uses QSettings for that, and there's already code to read and write the settings on startup and closing the window, so that should be easy enough. The documentation seems to be completely the wrong way around, though...