Skip to content

UIFlatButton cut text #1482

@eruvanos

Description

@eruvanos

csdaniel reported that the UIFlatButton cuts text:
https://discord.com/channels/458662222697070613/1067536374682628197/1067550222420545677

The bug can not be reproduced at the moment. A simple example works:

import arcade
from arcade import Window
from arcade.gui import UIManager


class MyWindow(Window):

    def __init__(self):
        super().__init__()

        self.manager = UIManager()
        self.manager.enable()

        self.button = arcade.gui.UIFlatButton(text='pleasecutme',)
        self.button.center_on_screen()
        self.manager.add(self.button)

    def on_draw(self):
        arcade.start_render()
        self.manager.draw()


if __name__ == '__main__':
    MyWindow().run()

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiRelated to arcade GUI (sub module arcade.gui)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions