This is my xml code so far. What I'm trying to do is have a box with a list of quests in it and later in my lua I want to make each quest clickable so that the text well turn to a dark gray and if they click it again it'll go back to the original color. I currently have just two quest in it. How I want it to look is like this example below.
A Pinch of Sugar
Cast Adrift
My question is if my code has errors and if so what do I need to do to fix them so far?
Lua Code:
<GuiXml>
<Controls>
<TopLevelControl name="QuestMaster" mouseEnabled="true" movable="true">
<Dimensions x="300" y="400" />
<Anchor point="CENTER" />
<OnUpdate>
QuestMasterUpdate()
</OnUpdate>
<OnMouseDown>
QuestMasterReset()
</OnMouseDown>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_ThinBackdrop" />
<Label name="$(parent)" font="ZoFontAnnounceSmall" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="CENTER" text="A Pinch of Sugar">
<Label name="$(parent)" font="ZoFontWindowSmall" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="CENTER" text="Cast Adrift">
<AnchorFill />
</Label>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>