increase width of "Size" box to fit max collection size
Max size is 65535
This commit is contained in:
@@ -557,7 +557,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
MinValue = _minCount,
|
MinValue = _minCount,
|
||||||
MaxValue = _maxCount,
|
MaxValue = _maxCount,
|
||||||
AnchorPreset = AnchorPresets.TopRight,
|
AnchorPreset = AnchorPresets.TopRight,
|
||||||
Bounds = new Rectangle(-40 - dropPanel.ItemsMargin.Right, y, 40, height),
|
Bounds = new Rectangle(-55 - dropPanel.ItemsMargin.Right, y, 55, height),
|
||||||
Parent = dropPanel,
|
Parent = dropPanel,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -566,7 +566,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
Text = "Size",
|
Text = "Size",
|
||||||
AnchorPreset = AnchorPresets.TopRight,
|
AnchorPreset = AnchorPresets.TopRight,
|
||||||
Bounds = new Rectangle(-_sizeBox.Width - 40 - dropPanel.ItemsMargin.Right - 2, y, 40, height),
|
Bounds = new Rectangle(-_sizeBox.Width - 40 - dropPanel.ItemsMargin.Right - 2, y, 40, height),
|
||||||
Parent = dropPanel
|
Parent = dropPanel,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!_canResize || (NotNullItems && size == 0))
|
if (!_canResize || (NotNullItems && size == 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user