Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1][Feature Request] QBtn left & right props? #3609

Closed
smakinson opened this issue Mar 18, 2019 · 1 comment
Closed

[v1][Feature Request] QBtn left & right props? #3609

smakinson opened this issue Mar 18, 2019 · 1 comment

Comments

@smakinson
Copy link
Contributor

As I am laying some thing out and using both QIcon and QBtn with only an icon ( no label )I thought I'd see if you guys think that QBtn should also have the left & right properties like QIcon since QBtn with only an icon and no label is similar to using an icon by itself. Just thinking about it as a consistency thing.

@rstoenescu
Copy link
Member

Hi,

It only makes sense for QIcon because it adds a specific padding according to Material Design guidelines. For all other components, there are the q-p* and q-m* CSS helper classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants