Ejemplo n.º 1
0
 public LyricList()
 {
     Children = new Drawable[]
     {
         background = new CornerBackground
         {
             Name             = "Background",
             RelativeSizeAxes = Axes.Both,
         },
         new OsuScrollContainer
         {
             RelativeSizeAxes = Axes.Both,
             Child            = table = new PreviewLyricTable(),
         }
     };
 }
Ejemplo n.º 2
0
 public LyricPreview()
 {
     Child = new Container
     {
         Masking          = true,
         CornerRadius     = 5,
         RelativeSizeAxes = Axes.Both,
         Children         = new Drawable[]
         {
             background = new Box
             {
                 Name             = "Background",
                 RelativeSizeAxes = Axes.Both,
             },
             new OsuScrollContainer
             {
                 RelativeSizeAxes = Axes.Both,
                 Child            = table = new PreviewLyricTable(),
             }
         }
     };
 }