Hi again, On 21.11.2013 18:11, Graham Labdon wrote: > Say I have a push button for which I have set an icon and set the text to an > empty string. > When this is displayed all I see is the Icon, which is what I want. > However when the button is clicked the rectangular background for the button > is displayed in the background color. > Any idea how I can stop this happening
Set the focus policy for the button to Qt::NoFocus - either by code (QPushButton::setFocusPolicy()) or in the designer (the focusPolicy property). > > Thanks > <snip> Regards, Bernhard _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest