We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c550a2 commit 2fb70dcCopy full SHA for 2fb70dc
ai_diffusion/ui/settings.py
@@ -1121,8 +1121,8 @@ def __init__(self, server: Server):
1121
self.setMinimumSize(QSize(960, 480))
1122
if screen := QGuiApplication.screenAt(QCursor.pos()):
1123
size = screen.availableSize()
1124
- min_w = min(size.width(), QFontMetrics(self.font()).height() * 50)
1125
- self.resize(QSize(max(min_w, int(size.width() * 0.6)), int(size.height() * 0.8)))
+ min_w = min(size.width(), QFontMetrics(self.font()).width("M") * 100)
+ self.resize(QSize(min_w, int(size.height() * 0.8)))
1126
1127
layout = QHBoxLayout()
1128
self.setLayout(layout)
0 commit comments