laserpants / qt-material-widgets

:art: Qt widgets-based implementation of the Material Design specification.
BSD 3-Clause "New" or "Revised" License
2.94k stars 660 forks source link

A first try at Divider #13

Closed fperillo closed 6 years ago

fperillo commented 6 years ago

There are some things to be updated in the code... but I wanted to try, I used avatar code as base then deleted everything I didn't need. I'm creating a PR but I really don't know if it is good enough... please check... for example I set the height minimum 4 maximum 14, perhaps it should be 4 too. Color can't be changed etc etc I also used a numeric value as inset displacement...

fperillo commented 6 years ago

I should have squashed the commits but moving development between 2 worstation I had to commit... I could probably rebase but I'm afraid of breaking things...

the demo of dividers should be updated after the other PR is accepted (if it will be :-) ) in order to hide the underscores of TextField

I also see that dividers have strict specifications... https://material.io/guidelines/components/dividers.html it seems they should not change height nor should they have padding... so I should change that... but how?