fix scrollcontainer keep bottom feature

This commit is contained in:
2022-07-22 00:51:12 +08:00
parent 2040afa34a
commit 449b95e036
2 changed files with 8 additions and 4 deletions

View File

@ -24,6 +24,7 @@ public class LabelConsole : Control {
mRealLabel.Modulate = Colors.OrangeRed;
break;
}
this.RectMinSize = new Vector2(0, (mRealLabel.GetLineHeight() + mRealLabel.GetConstant("line_spacing")) * mRealLabel.GetLineCount());
}
private void Proc_Label_ItemRectChanged() {