StyleFlow icon indicating copy to clipboard operation
StyleFlow copied to clipboard

change size of output

Open masoudpz opened this issue 4 years ago • 3 comments

First of all, thanks for your nice code! this is the image of output, when I run the code. How can I change the output size? Image

masoudpz avatar Jan 10 '21 17:01 masoudpz

Will update a Streamlit version of StyleFlow for those having problems with the display and PyQt. Coming soon :)

RameenAbdal avatar Jan 12 '21 22:01 RameenAbdal

In the meantime you can play around with the dimensions in ui.py to fit everything in an ultrawide monitor. Just do some trial and error.

Form.resize(2560, 1080) self.graphicsView.setGeometry(QtCore.QRect(150, 10, 1028, 1028)) self.lockView.setGeometry(QtCore.QRect(150, 10, 1028, 1028)) self.resultView.setGeometry(QtCore.QRect(1124 - 50, 10, 1028, 1028))

self.newButton.setGeometry(QtCore.QRect(int(Lb_x - 1 * Lb_row_shift - 60), 10, square_size, square_size)) Repeat the offsets for each button: QtCore.QRect(int(Lb_x - 1 * Lb_row_shift - 60), 10 + square_size * 1 + 25 * 1, square_size, square_size))

self.formGroupBox1.setGeometry(QtCore.QRect(2110, 10, 400, 550)) self.formGroupBox2.setGeometry(QtCore.QRect(2110, 560 + 20 + 4, 400, 350))

Wol377 avatar Jan 15 '21 19:01 Wol377

Hi, Any Update on UI rework ? I finally managed to launch UI on Windows 10 (ouf), but the way UI is hard coded make it to go beyond my screen (I have a 22'' 1920*1280 screen) like the image posted on the OP of this thread. Thanks.

elTRexx avatar Jun 15 '21 01:06 elTRexx