Forum Discussion

gizmeon's avatar
gizmeon
Channel Surfer
7 months ago
Solved

unable to see some labels when installing through vs code

unable to see some labels when installing through vs code.

this label is not visible :

<Label id="buttonPlaylistLabel" height="70" width="200" text="PLAY NOW"
                        vertAlign="center" horizAlign="center">
                        <Font role="font" uri="pkg:/fonts/Poppins-Medium.ttf" size="24" />
                    </Label>
but when sideloading through browser this is visible. 


There is no problem with this following label using vs code: 
<Label id="rating" color="#ffffff" font="font:SmallestBoldSystemFont"
                    translation="[250,170]" text="" />
  • Vscode doesn't include the fonts folder by default. You will need to modify your lunch.json to add or edit the "files" array to include the fonts folder.

1 Reply

  • Vscode doesn't include the fonts folder by default. You will need to modify your lunch.json to add or edit the "files" array to include the fonts folder.