Add and use default size (smaller than before)

This commit is contained in:
Dean Herbert 2018-05-25 18:51:57 +09:00
parent 1b5bb79fe9
commit 1cb7d50407
3 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Input;
using OpenTK;
using OpenTK.Graphics;
namespace osu.Game.Graphics.UserInterface
@ -20,6 +21,7 @@ namespace osu.Game.Graphics.UserInterface
public ExternalLinkButton(string link = null)
{
Link = link;
Size = new Vector2(12);
InternalChild = new SpriteIcon
{
Icon = FontAwesome.fa_external_link,

View File

@ -178,7 +178,6 @@ namespace osu.Game.Overlays.BeatmapSet
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Margin = new MarginPadding { Left = 3, Bottom = 4 }, //To better lineup with the font
Size = new Vector2(18),
},
}
},

View File

@ -124,7 +124,6 @@ namespace osu.Game.Overlays.Profile
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Margin = new MarginPadding { Left = 3, Bottom = 3 }, //To better lineup with the font
Size = new Vector2(18),
},
}
},