03-16-2019 22:41
03-16-2019 22:41
I have the following block
<use href="#mixed-text-right-top" height="100%" fill="fb-yellow"> <set href="#copy/text" attributeName="text-buffer" to="100%"/> </use>
but I'm getting the error:
resources/index.gui:143,1
[1:36:34 AM]Error 22 Undefined attribute 'href'resources/index.gui:145,1
[1:36:34 AM]Error 22 Unclosed element 'g' in my-popupresources/index.gui:145,1
[1:36:34 AM]Error 22 Unclosed element 'svg' in unnamedresources/index.gui:158,1
[1:36:34 AM]Error 22 Illegal element 'g'resources/index.gui:160,1
[1:36:34 AM]Error 22 Illegal element 'svg'
According to https://dev.fitbit.com/build/guides/user-interface/svg-components/text/#mixed-text, I should be able to use mixed-text-right-top.
03-16-2019 22:56
03-16-2019 22:56
Looking at the errors taken as a whole, I suspect that the problem may be a malformed .gui file (not in the snippet you posted). Look for invalid/missing/unclosed tags elsewhere in the file.
03-18-2019 10:47
03-18-2019 10:47
@Gondwana Thanks for your response but that wasn't the issue. I am able to use mixed-text-left-top but not anything with right. I ended up using text with text anchors start/end