corpkit icon indicating copy to clipboard operation
corpkit copied to clipboard

GUI resolution

Open interrogator opened this issue 9 years ago • 8 comments

It seems that the GUI is poorly sized on some screens. Tkinter doesn't do a lot to make this automatically fixable, but it's still something that can be addressed. Watch this space!

interrogator avatar Aug 11 '16 18:08 interrogator

077dc40 is some basic progress on this. If your screen height is under 800 pixels, some panes get shorter to accommodate. Horizontal scaling is also starting to happen. If anybody is having issues relating to resolution (i.e. @alischinsky), please feel free to take a screenshot and tell me your dimensions.

interrogator avatar Aug 11 '16 21:08 interrogator

It seems that Tkinter's grid_configure() chokes on a negative pad value when calculating the distance between the left and right button sets in the conc pane. Traceback here

alischinsky avatar Aug 12 '16 10:08 alischinsky

My bad. I did something foolish, too late last night. Gimme 10 mins and I should have something that doesn't crash for you.

interrogator avatar Aug 12 '16 10:08 interrogator

@alischinsky ad778bf should fix the conc pane.

interrogator avatar Aug 12 '16 10:08 interrogator

Pad value has changed (it's now -703), but the same TclError occurs.

alischinsky avatar Aug 12 '16 10:08 alischinsky

Whoops, there was a typo in the failsafe, which was just to set the distance to 250, which should be alright for most people. That grid needs to be rewritten, but 0ec9d87 should hold until I've got more time.

interrogator avatar Aug 12 '16 10:08 interrogator

Confirmed working.

alischinsky avatar Aug 12 '16 13:08 alischinsky

Awesome. Feel free to take screenshots of the tool and give me your resolution so I can try to improve it!

interrogator avatar Aug 12 '16 13:08 interrogator