Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Button Text Sizing is Awkward #1313

@DapperMongoose

Description

@DapperMongoose

Describe the bug

Most widgets can be styled to a desired text size with the intuitive use of a styler and setting s.Font.Size.pt(12) or s.Font.Size = units.Pt(12) however buttons must be styled using the method described in #1150 which is not intuitive or documented from what I can see. In addition you must apparently manually set the line height of the button.

How to reproduce

Create a button
Attempt to style text size in the same manner that you would any other widget

Example code

No response

Relevant output

No response

Platform

Linux

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctlyconfirmedThis bug has been confirmed

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions