Skip to content

Android Buttons have min-width that can't be removed #7803

@bundyo

Description

@bundyo

Environment

  • Cross-platform modules: 6.1.0

Describe the bug
If an Android Button is not stretched and has short text, there seems to be some min-width set that can't be seen or removed from CSS or element properties.

To Reproduce
Create a Button, align it left and set its text to "Go".

Expected behavior
The Button to be as big as the text.

Sample project
https://play.nativescript.org/?template=play-vue&id=jrAllC&v=2

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions