[Interest] Adding a border-image CSS to QPushButton changes their size

Philipp Kursawe phil.kursawe at gmail.com
Wed Nov 6 16:38:57 CET 2013


Why is that, when I add a border-image style to a QPB it changes its size
to be very small instead of staying at the same size just have a different
border renderer?

QPushButton {

  font: "Open Sans Semibold";

  border-image: url(:/images/ui_bigbtn.png);

  color: white;

  border-color: transparent;

  border-width: 2px;

  border-style: solid;

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131106/93a32ef2/attachment.html>


More information about the Interest mailing list