Low text resolution in Python Kivy

Asked

Viewed 194 times

0

I’m starting in Python and Kivy, but I’m not understanding why the generated objects are so low-resolution. In a simple screen of username and password, one can observe the serrated text, ie with low rendering.

Is there a way to achieve a better quality or is it a limitation of language?

Print da tela

Follows files.

login py.

from kivy.app import App
from kivy.uix.widget import Widget

class Access(Widget):
    pass

class LoginApp(App):

    def build(self):
        return Access()

LoginApp().run()

login.Kv

#:kivy 1.0.9

<Access>:
    f_username: username
    f_password: password
    GridLayout:
        pos: root.center_x-self.width, root.center_y-self.height/2
        col_default_width: 100
        rows: 2
        cols: 2
        Label:
            text: 'User Name:'
        TextInput:
            id: username
            multiline: False
        Label:
            text: 'Password:'
        TextInput:
            id: password
            password: True

1 answer

0

I believe it was because of the version of your kivy, or because of your machine, because kivy has GPU boost, and can be used to develop games, so it supports higher resolutions.

The code you are using has an example in the kivy documentation itself, you can look at it here, on pages 56 and 57, and technical graphic information and so on the first pages.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.