Important: Please read the Qt Code of Conduct -

Buttons have a small white boarder

  • I am trying to eliminate this small white border around the buttons on this keypad. Does anyone have any idea what I should be looking for? I realize the question is sort of vague but I am just wondering if anyone knows off the top of their heads what property that would be?


  • Moderators

    QtWidgets or QtQuick? If QtQuick - are these custom components or buttons from QtQuick.Controls 2.x?

    In general, the property to look for is border.width, but exact answer depends on which technology you're using.

  • and of course the ultimate hack is that you can implement QAbstractButton and make a custom button widget that displays any way you want.

Log in to reply