Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cluttered Tool Button in GNOME 3



  • Hi All,

    I've been developing some test applications in GNOME 2 with Qt. But when I moved to GNOME 3, in one of my applications, one tool button (just one) looks cluttered. Take a look at the attached images.

    Without Mouse Hover
    !http://farm8.staticflickr.com/7160/6645356255_f1384303e1_z.jpg(Without Mouse Hover)!

    On Mouse Hover
    !http://farm8.staticflickr.com/7007/6645356351_755175a280_z.jpg(With Mouse Hover)!

    This is the XML for that widget.
    @<item>
    <widget class="QToolButton" name="toolButton">
    <property name="text">
    <string>Clear Fields</string>
    </property>
    <property name="icon">
    <iconset resource="main.qrc">
    <normaloff>:/newPrefix/images/edit-clear.svg</normaloff>:/newPrefix/images/edit-clear.svg</iconset>
    </property>
    <property name="iconSize">
    <size>
    <width>16</width>
    <height>16</height>
    </size>
    </property>
    <property name="toolButtonStyle">
    <enum>Qt::ToolButtonTextBesideIcon</enum>
    </property>
    </widget>
    </item>@

    I don't see any reason for happening this. May be some conflicts or something with the GNOME 3 stuff ?
    It seemed like I should share here. The problem is reproducible as of now.

    Thanks


Log in to reply