mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Small textbox adjustments
This commit is contained in:
@ -17,18 +17,16 @@ namespace osu.Game.Graphics.UserInterface
|
||||
public SearchTextBox()
|
||||
{
|
||||
Height = 35;
|
||||
AddRange(new Drawable[]
|
||||
Add(new SpriteIcon
|
||||
{
|
||||
new SpriteIcon
|
||||
{
|
||||
Icon = FontAwesome.Solid.Search,
|
||||
Origin = Anchor.CentreRight,
|
||||
Anchor = Anchor.CentreRight,
|
||||
Margin = new MarginPadding { Right = 10 },
|
||||
Size = new Vector2(20),
|
||||
}
|
||||
Icon = FontAwesome.Solid.Search,
|
||||
Origin = Anchor.CentreRight,
|
||||
Anchor = Anchor.CentreRight,
|
||||
Margin = new MarginPadding { Right = 10 },
|
||||
Size = new Vector2(20),
|
||||
});
|
||||
|
||||
TextFlow.Padding = new MarginPadding { Right = 35 };
|
||||
PlaceholderText = "type to search";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user