window too big
-
X windows, debian linux, python 3. My X setup is very minimal; my .xinitrc file starts blackbox and and xscreensaver and that's it.
When I run the demo sample code from this page
https://doc.qt.io/qtforpython/quickstart.html
The window is too large. The button is off the bottom of the screen.
According to xdpyinfo the screen is 1920x1280 pixels (219x146 millimeters). I was assuming the numbers to resize(800, 600) are pixels but I see from the docs that the numbers are floats although it says that they represent 1 pixel.
Can someone clear up my confusion? Or, how can I make a window that's 800x600 pixels?
-
X windows, debian linux, python 3. My X setup is very minimal; my .xinitrc file starts blackbox and and xscreensaver and that's it.
When I run the demo sample code from this page
https://doc.qt.io/qtforpython/quickstart.html
The window is too large. The button is off the bottom of the screen.
According to xdpyinfo the screen is 1920x1280 pixels (219x146 millimeters). I was assuming the numbers to resize(800, 600) are pixels but I see from the docs that the numbers are floats although it says that they represent 1 pixel.
Can someone clear up my confusion? Or, how can I make a window that's 800x600 pixels?
@lumpynose said in window too big:
Or, how can I make a window that's 800x600 pixels?