kwsch / pk3DS

Pokémon (3DS) ROM Editor & Randomizer
https://projectpokemon.org/forums/forums/topic/34377-pk3ds-xyoras-rom-editor-randomizer/
Other
400 stars 150 forks source link

Some of the UI is cropped on Linux (fedora) #527

Open CactiChameleon9 opened 2 years ago

CactiChameleon9 commented 2 years ago

Some of the UI (such as the StaticEncounterEditor7) is heavily cropped out on Linux -I can get a screenshot if you need me too.

I made an awful patch to increase all of the ClientSizes to 1000 by 1000, however I can got figure out how to build using mono and msbuild - I have never coded in C# andor .NET before:

error MSB3644: The reference assemblies for .NETFramework,Version=v4.6 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

0001-Change-all-the-Client-Sizes-to-1000x1000.patch.txt

CactiChameleon9 commented 2 years ago

I managed to build. Solution: use arch because mono-msbuild is packaged normally.

The previous patch did not work at all, but this one works well. It enables resize on the subforms. I have also attached my built exe in case fellow Linux users need it. 0001-Enable-resize-on-Sumforms-to-better-support-unix-sys.patch.txt pk3DS.zip

I can make a PR with the patch if you want @kwsch, but it isn't amazing code (just changed max size to 3000x3000)