kmccmk9 / Yu-Gi-Oh-TTS-Deck-Builder

0 stars 1 forks source link

Using an input/output file whose directory is very long, causes the window to display improperly #16

Open kmccmk9 opened 3 years ago

kmccmk9 commented 3 years ago

Using an input or output file that's directory path is very long, causes the contents to stretch beyond the window boundaries. You can workaround this by manually increasing the window size.

Problem: image

Workaround: image

ChiefMikeK commented 3 years ago

Try linking your "C:\Users\Username\Documents\My Games\Tabletop Simulator\Saves\Saved Objects" to somethiong shorter like D:\ygo.

Hard Links and Junctions - Win32 apps | Microsoft Docs

kmccmk9 commented 3 years ago

While that is a way for a user to permanently get around this issue; I think it is overkill for a simple UI problem. It would also be a lot to ask of average users, just so it displays properly. A better solution is to have either our application windows scale itself when it determines the controls go beyond the borders (although this has it's own concerns). Perhaps a better solution would be to truncate the string for display or truncate it in special formatting like: C:\Users\Kyle...\Dino Meta.json