In iOS tag [color=] swaps red/blue so #FFFF55 is cyan. It is yellow on linux,android,mac

10 views
Skip to first unread message

AlexH

unread,
Feb 20, 2015, 7:33:30 AM2/20/15
to kivy-...@googlegroups.com
from kivy.app import App
from kivy.uix.label import Label

class BasicKv(App):

    def build(self):
        self.lb = Label(markup=True,
                        text='[color=#FFFF55]Yellow[/color]')
        return self.lb

if __name__ == '__main__':
    app = BasicKv()
    app.run()

Andrei Sima

unread,
Feb 20, 2015, 8:02:18 AM2/20/15
to kivy-...@googlegroups.com
On my machine your code does render the expected result.



--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

______________
random life
Screen Shot 2015-02-20 at 2.56.49 PM.jpg

Ronaldo Maia

unread,
Feb 20, 2015, 1:39:03 PM2/20/15
to kivy-...@googlegroups.com
Did you test it on iOS?

The subject says this only happens in iOS.
Ronaldo Maia
Async Open Source

AlexH

unread,
Feb 20, 2015, 1:41:07 PM2/20/15
to kivy-...@googlegroups.com
Hi,
This happens only on an iOS device(iphone,ipad) on everything else it shows as yellow.

Andrei Sima

unread,
Feb 21, 2015, 6:26:26 AM2/21/15
to kivy-...@googlegroups.com
@Ronaldo Maia

No i did not.
Sorry
Reply all
Reply to author
Forward
0 new messages