Hi,
I noticed that after the last Versa update (32.68.9.12) some numbers in my clockfaces aren't shown in the full length any longer. They are cut off because they seem to be enlarged.
Has there been changes with the fonts, the font sizes or the handling?
Does anyone notice similar effects?
Regards Capitano
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @JonFitbit ,
Thanks a lot for that hint. But what is incorrect with the following coding?
In the index.gui I write:
<text id = "Puls" text-anchor="start" x="50%" y="21%" class="datenStyle">295</text>;
and in the styles.css I use:
.datenStyle {
font-size: 35;
font-family: SevilleSharp-Book;
font-weight: regular;
fill: white;
}In my opion the font-size is set to a fixed value which should be clear.
Regards
Capitano
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Looks ok. Is the value shown always 295? Is it failing to display correctly with just this value, or if you exceed 3 digits?
Best AnswerHi @JonFitbit ,
No the number 295 is only for the definition of the textlength. The text element is used to display the heartrate. In this case the heartrate will be cut off when the heartrate exceeds 100.
In another case I use 2543 for the definition of the length for the field for the number of calories. In this case it's cut off when the number gets four digits...
Capitano
PS - I know that I can use more digits to define the length of the fields or to use a smaller font size - but nevertheless I would like to understand why it doesn't work...
Best Answer@JonFitbit any other suggestion!
It's hard for me to test this effect because in the simulator it's shown correctly. So if I work with the metioned workarounds I can't be sure that the clockface will be displayed correctly on the Versa (light).
Unfortunately several of my clockfaces are affected by this.
Regards
Capitano
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Can you let me know which clocks have broken and I'll raise this with the FW team.
Best Answer
Thanks for coming back to my topic.
My clockface CD Seconds Circle for Versa cuts off the heartrate, when it's higher than 99 and the calories when there are more then tree digits - but only with the latest OS version
And also CD Digital BT cuts off the steps now when there are more then four digits.
Just remember: with earlier versions of the OS it worked!
Kind regards
Capitano
Best Answer