Closed AdrienLF closed 1 year ago
Hello @AdrienLF , here is the solution: https://github.com/rawpython/remi/issues/263#issuecomment-451724050 .
You should set the white-space property for your label or button:
mylabel.css_white_space = 'pre'
'pre' stays for 'preserve'. This tells the browser to do not ignore spaces.
Hello Davide,
I found a bug with remi, which I recreated in this short example:
You will recognize your own example, the only difference is in
Button pressed!
which has three spaces between the words. However, only one space will be displayed in the browser. In our tests, we could not display more than one space character at a time, using remi with python 3.9 and Chrome as a browser.