You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import kivy
kivy.require('1.8.0') # replace with your current kivy version !
from kivy.app import App
from kivy.uix.textinput import TextInput
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.label import Label
class MyApp(App):
def build(self):
b = BoxLayout()
b.add_widget(Label(text='This is a Label!'))
b.add_widget(TextInput(text='Hello world', multiline=False))
return b
if __name__ == '__main__':
MyApp().run()
Procedure to produce the error:
Focus the text input field
Keep pushing a key until the width is full and the text scrolls out of the field to the left.
Select all with cmd-a
Delete with backspace
Now the text cursor is shown somewhere on the label, the farther to the left the more characters have overflown the field width. Inputting one character after that shows not the character but positions the cursor at the start of the text field line. Input another char and push left arrow twice ==> You see both of the characters input.
The text was updated successfully, but these errors were encountered:
Link to the outputs: https://gist.github.com/semmottos/7647031
OS: Mac OS X, Version 10.9
Program code:
Procedure to produce the error:
Now the text cursor is shown somewhere on the label, the farther to the left the more characters have overflown the field width. Inputting one character after that shows not the character but positions the cursor at the start of the text field line. Input another char and push left arrow twice ==> You see both of the characters input.
The text was updated successfully, but these errors were encountered: