Skip to content

v1.6.0_fix-size-and-pos

Latest
Compare
Choose a tag to compare
@strangebit strangebit released this 05 Oct 07:42
· 0 commits to master since this release

Patched rawaccel.exe GUI Application

  • On startup, sets the window's size to a more appropriate value so as not to see the ugly scrollbars.
  • Remembers the window's location on exit and reapplies it on startup.

Author's note:

This should not be merged upstream as the code is not good enough!

This is just a hasty custom patch that I made that works well for my personal setup, where I use it with my custom profile switcher. If you also want to use this with my custom profile switcher, you should remove the /MAX option from the :start_GUI section of rawaccel-switch.cmd.

I do not know whether the window size values used here only work well on my machine, or whether they would also work well for everyone. On my machine it is pixel perfect, such that the scroll bars don't appear but it is also not any larger than it needs to be.

Also, for storing the window's location, it may be better to use GUISettings (i.e the .config file), rather than what is utilized here (a .NET user.config file located in %LocalAppData%\grapher). As I say, I just put this together for my own personal benefit, so I am not too bothered about the code being good. But I do not see any harm in sharing this in case others can benefit from it too.


The code changes can be found within the strangebit-only_fix-size-and-pos branch.