more updates
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user