Closed gregllong closed 8 years ago
LGTM
@gregllong Nice didnt know about qwidget.showMaximized! I think instead of adding another item to the config we could just have this be conditional for all small screens. Using the following logic we should be able to avoid adding to the configs and be able to see it on all small screens (Im thinking Pi's of course)
desktop = QtGui.QDesktopWidget() screensize = desktop.availableGeometry() if (screensize[0] or screensize[1]) <= 1080: self.showMaximized
@jayich @aransfor @theoriginaljuice
I changed the code a little bit. There's a lower limit on the screen size now such that if the limit is not met, the client window just gets maximized.
LGTM.
LGTM.
LGTM, nice fix!
@theoriginaljuice when you have time, please take a look
LGTM
… for if the client should be maximized upon startup.
Signed-off-by: Xueping Long gregllong@gmail.com
The fixed minimum size for the wavemeter client becomes a problem when the client is opened with a netbook. I did a quick and dirty fix to this problem. It does not look too great but I'm able to see all channels on the netbook now.
Please review: @jayich @aransfor @theoriginaljuice