Problems with the Labels
-
@gadjet said in Problems with the Labels:
Why does setting the font size only work once for the first label in the Flow GUI and even if I try to set them in the "setup" it has no affect on the labels?
How do I stop the labels leaving a ghost blue image on the background as they change?
I'm getting font not defined.
Try lcd.clear function before the lcd.print function. -
@ajb2k3 In the UIflow if I reload the page and the project I can edit the fonts OK but then for some reason the properties when I click on the label always show the same properties, say for label0, no matter which label I'm right clicking on.
Reload the page and it works again for a while..... is it just me?
-
@gadjet
I'm getting the same. -
@ajb2k3 said in Problems with the Labels:
@gadjet
I'm getting the same.So it looks like it's a problem with the UiFlow interface then, is it a known bug?
-
@gadjet said in Problems with the Labels:
@ajb2k3 said in Problems with the Labels:
@gadjet
I'm getting the same.So it looks like it's a problem with the UiFlow interface then, is it a known bug?
@heybin do you know about this bug?
-
I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?
-
@heybin said in Problems with the Labels:
I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?
Will see If I reproduce the steps I took to cause the bug later.
-
I have added a few extra font changes to trigger the bug but its the first set font that is triggering "Font not defined."
UIFlow and firmware 1.1.1
-
this bug will fix in those day, but gadjet said looks like another bug...
-
The ghosting, i think, is to do with the lcd screen,
I made guess that he was using the deja vue and trying to set it with the different size specific block. -
@ajb2k3 said in Problems with the Labels:
The ghosting, i think, is to do with the lcd screen,
I made guess that he was using the deja vue and trying to set it with the different size specific block.I did some more work and found the ghosting is when I modify a label, when I leave the label and then use LCD.Print to add the text is seems to be OK.
I was mistakenly using the label object to write a changing value to the screen, LCD.print works OK but editing the label would still give the ghosting issue.
-
@heybin said in Problems with the Labels:
I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?
I have a suspicion that it happens after the code has been downloaded and you try to edit the labels, a reload of the page and the project fixes it.
I will test out my theory tonight and feedback.
-
@gadjet said in Problems with the Labels:
@ajb2k3 said in Problems with the Labels:
The ghosting, i think, is to do with the lcd screen,
I made guess that he was using the deja vue and trying to set it with the different size specific block.I did some more work and found the ghosting is when I modify a label, when I leave the label and then use LCD.Print to add the text is seems to be OK.
I was mistakenly using the label object to write a changing value to the screen, LCD.print works OK but editing the label would still give the ghosting issue.
Where is LCD.print in UIFlow? Is it the print block under the Text menu?
-
@world101 lcd.print is a micropython command, you use the Label show block which is the first block I put under the setup bock in the screen grab I posted above.
-
@world101 It's in the "Graphic" group
![LCD.Print]()