Show available desktop resolution

This commit is contained in:
Ogi 2019-05-28 22:42:25 -07:00
parent f2aeea8964
commit aa63c07523

View File

@ -31,7 +31,8 @@ def init_viewbox():
g = pg.GridItem()
vb.addItem(g)
desktop = app.desktop().screenGeometry()
print("\n\nDesktop Resolution: {} x {}\n\n".format(desktop.width(), desktop.height()))
app.processEvents()
def test_ViewBox():