mirror of
https://github.com/ppy/osu
synced 2025-03-11 05:49:12 +00:00
Add and use default size (smaller than before)
This commit is contained in:
parent
1b5bb79fe9
commit
1cb7d50407
@ -7,6 +7,7 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Cursor;
|
using osu.Framework.Graphics.Cursor;
|
||||||
using osu.Framework.Input;
|
using osu.Framework.Input;
|
||||||
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
|
||||||
namespace osu.Game.Graphics.UserInterface
|
namespace osu.Game.Graphics.UserInterface
|
||||||
@ -20,6 +21,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
public ExternalLinkButton(string link = null)
|
public ExternalLinkButton(string link = null)
|
||||||
{
|
{
|
||||||
Link = link;
|
Link = link;
|
||||||
|
Size = new Vector2(12);
|
||||||
InternalChild = new SpriteIcon
|
InternalChild = new SpriteIcon
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.fa_external_link,
|
Icon = FontAwesome.fa_external_link,
|
||||||
|
@ -178,7 +178,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Margin = new MarginPadding { Left = 3, Bottom = 4 }, //To better lineup with the font
|
Margin = new MarginPadding { Left = 3, Bottom = 4 }, //To better lineup with the font
|
||||||
Size = new Vector2(18),
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -124,7 +124,6 @@ namespace osu.Game.Overlays.Profile
|
|||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Margin = new MarginPadding { Left = 3, Bottom = 3 }, //To better lineup with the font
|
Margin = new MarginPadding { Left = 3, Bottom = 3 }, //To better lineup with the font
|
||||||
Size = new Vector2(18),
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user