I have written an .py file and converted it into .exe. Now when I open that file in different resolutions some items get invisible.
I had those items fixed with an absolute value according to 1920x1080 resolution. Now when I open it with any different resolution some items get lost.
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.showMaximized() self.comboBox.setGeometry(QtCore.QRect(510, 60, 900, 100)) self.pushButton.setGeometry(QtCore.QRect(775, 170, 250, 91)) self.ced.setGeometry(QtCore.QRect(75, 290, 35, 32))
Those were some examples of those items and coordinates. There are comboboxes, lineedits, buttons and labels in my .exe. In case you are wondering I can send more of my code.
I couldn't find many libraries to fix this problem of mine.