For i=0 To Opcoes.Length-1
Dim Op As Pane
Dim PnlHighlight As Pane
Dim Label_Text As Label
Dim Label_Icon As Label
Op.Initialize("")
Op.SetSize(220,40)
CSSUtils.SetBackgroundColor(Op,fx.Colors.RGB(61,122,179))
PnlHighlight.Initialize("")
PnlHighlight.SetSize(218,30)
CSSUtils.SetBackgroundColor(PnlHighlight,fx.Colors.RGB(0,58,112))
CSSUtils.SetBorder(PnlHighlight,0,fx.Colors.Black,6)
PnlHighlight.Visible = False
Opcoes(i).PnlHighlight = PnlHighlight
Op.AddNode(PnlHighlight,0,5,218,30)
Label_Text.Initialize("LabelMenu")
Label_Text.SetSize(130,30)
Label_Text.Tag = Opcoes(i).tag
Label_Text.Style = "-fx-font-size: 12;"
Label_Text.Text = Opcoes(i).text
Label_Icon.Initialize("LabelMenu")
Label_Icon.SetSize(30,30)
Label_Icon.Tag = Opcoes(i).tag
Label_Icon.Font = Main.xui.CreateFontAwesome(16)
Label_Icon.Text = Opcoes(i).icon
Op.AddNode(Label_Icon,30,5,30,30)
Op.AddNode(Label_Text,70,5,130,30)
Opcoes(i).Pane = Op
OpcoesMenu_Panes.Add(Opcoes(i))
Next