private void load(OsuColour colours) { Children = new Drawable[] { new DeleteButton(collection) { Anchor = Anchor.CentreRight, Origin = Anchor.CentreRight, IsCreated = { BindTarget = IsCreated }, IsTextBoxHovered = v => textBox.ReceivePositionalInputAt(v) }, textBoxPaddingContainer = new Container { RelativeSizeAxes = Axes.Both, Padding = new MarginPadding { Right = button_width }, Children = new Drawable[] { textBox = new ItemTextBox { RelativeSizeAxes = Axes.Both, Size = Vector2.One, CornerRadius = item_height / 2, Current = collection.Name, PlaceholderText = IsCreated.Value ? string.Empty : "Create a new collection" }, } }, }; }