Tweak frame for open editors and open help pages switchers

In the GTK style the scroll bar likes to be outside of the scroll area
frame. Like with the completion widget, we put the visible frame
explicitly outside of the scroll bar.

Reviewed-by: Jens Bache-Wiig
This commit is contained in:
Thorbjørn Lindeijer
2010-04-15 17:13:10 +02:00
parent ebb752230f
commit 02ebee6d23
4 changed files with 31 additions and 9 deletions

View File

@@ -30,7 +30,7 @@
#ifndef OPENPAGESSWITCHER_H
#define OPENPAGESSWITCHER_H
#include <QtGui/QWidget>
#include <QtGui/QFrame>
QT_FORWARD_DECLARE_CLASS(QModelIndex)
@@ -40,7 +40,7 @@ namespace Help {
class OpenPagesModel;
class OpenPagesWidget;
class OpenPagesSwitcher : public QWidget
class OpenPagesSwitcher : public QFrame
{
Q_OBJECT