Fix minimum size of windows (because Cel Properties requires a smaller size)

Regression introduced in 0b33d154623f227f9ab094c0b81b147bce553d92
This commit is contained in:
David Capello 2021-06-11 11:28:56 -03:00
parent 9f300bf55d
commit a860ce64bf

View File

@ -671,7 +671,7 @@ void Window::onSizeHint(SizeHintEvent& ev)
Size reqSize; Size reqSize;
if (m_titleLabel) if (m_titleLabel)
maxSize.w = maxSize.h = 40*guiscale(); maxSize.w = maxSize.h = 16*guiscale();
for (auto child : children()) { for (auto child : children()) {
if (!child->isDecorative()) { if (!child->isDecorative()) {