Put slider bar into ButtonsContainer.

This commit is contained in:
Huo Yaoyuan 2016-12-07 01:31:21 +08:00
parent cb8a07b653
commit eb1c5e0899

View File

@ -44,14 +44,11 @@ namespace osu.Desktop.VisualTests.Tests
Key key = (Key)((int)Key.A + RNG.Next(26)); Key key = (Key)((int)Key.A + RNG.Next(26));
kc.Add(new KeyCounterKeyboard(key.ToString(), key)); kc.Add(new KeyCounterKeyboard(key.ToString(), key));
}); });
Add(new SliderBar<int> ButtonsContainer.Add(new SliderBar<int>
{ {
Origin = Anchor.TopLeft,
Anchor = Anchor.TopLeft,
Width = 150, Width = 150,
Height = 10, Height = 10,
SelectionColor = Color4.Orange, SelectionColor = Color4.Orange,
Position = new Vector2(0, 50),
Bindable = bindable Bindable = bindable
}); });
Add(kc); Add(kc);