mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 14:46:20 +08:00
...
This commit is contained in:
@@ -29148,24 +29148,6 @@ GuiSharedSizeItemComposition
|
||||
if (parentRoot)
|
||||
{
|
||||
parentRoot->childItems.Add(this);
|
||||
Size minSize;
|
||||
if (sharedWidth)
|
||||
{
|
||||
vint index = parentRoot->itemWidths.Keys().IndexOf(group);
|
||||
if (index != -1)
|
||||
{
|
||||
minSize.x = parentRoot->itemWidths.Values()[index];
|
||||
}
|
||||
}
|
||||
if (sharedHeight)
|
||||
{
|
||||
vint index = parentRoot->itemHeights.Keys().IndexOf(group);
|
||||
if (index != -1)
|
||||
{
|
||||
minSize.y = parentRoot->itemHeights.Values()[index];
|
||||
}
|
||||
}
|
||||
SetPreferredMinSize(minSize);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user