more updates

This commit is contained in:
Ikatono
2024-05-22 01:19:23 -05:00
parent fac2260a01
commit 23068db95f
19 changed files with 416 additions and 115 deletions

View File

@@ -41,7 +41,7 @@ bool FullSizeLayout::hasHeightForWidth() const
}
int FullSizeLayout::heightForWidth(int width) const
{
int h = -1;
int h = 0;
for (auto child : itemList)
{
h = std::max(h, child->heightForWidth(width));
@@ -58,7 +58,7 @@ QLayoutItem* FullSizeLayout::itemAt(int index) const
}
QSize FullSizeLayout::minimumSize() const
{
QSize size;
QSize size(0, 0);
for (auto child : itemList)
{
// auto wid = child->widget();