jonesmat / mythic-master

Cross-platform tool to assist with the Mythic RPG system
0 stars 1 forks source link

GUI sizing issues on Windows with large fonts settings #1

Open Falkon1313 opened 11 years ago

Falkon1313 commented 11 years ago

If the user has their Windows display settings configured to use large fonts (DPI scaling), the sizing of UI elements will be off and some items will initially be hidden.

Edit: Tracked to an 8 year old bug in wxWidgets (http://trac.wxwidgets.org/ticket/11008). Issue should resolve itself eventually if the upstream fix is made in wxWidgets and trickles down to wxPython.

jonesmat commented 11 years ago

I noticed the sizing issue when going from Windows 7 to Ubuntu 12.10. I'll look into, as a limited fix, setting the width and height of the form variably based on the system dpi setting.

_Note to self_

# Example of retreiving screen dpi...
import wx
app = wx.App(0)
print wx.ScreenDC().GetPPI()