interrogator / corpkit

A toolkit for corpus linguistics
Other
199 stars 27 forks source link

GUI resolution #37

Open interrogator opened 8 years ago

interrogator commented 8 years ago

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 commented 8 years ago

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.

alischinsky commented 8 years ago

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

interrogator commented 8 years ago

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 commented 8 years ago

@alischinsky ad778bf should fix the conc pane.

alischinsky commented 8 years ago

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

interrogator commented 8 years ago

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.

alischinsky commented 8 years ago

Confirmed working.

interrogator commented 8 years ago

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