Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mixed-text-right-top won't work

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.

 

Best Answer
0 Votes
2 REPLIES 2

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.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

@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

Best Answer
0 Votes