diff options
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 20289ae..8275ac0 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -90,6 +90,11 @@ BrowserTab::BrowserTab(MainWindow *mainWindow) : QWidget(nullptr), this->ui->text_browser->verticalScrollBar()->setTracking(true); + // We hide horizontal scroll bars for now, however mouse-scrolling (overshooting?) + // causes the page to still scroll horizontally. TODO: Fix this + this->ui->text_browser->horizontalScrollBar()->setEnabled(false); + this->ui->text_browser->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); + connect(this->ui->url_bar, &SearchBar::escapePressed, this, &BrowserTab::on_url_bar_escapePressed); this->network_timeout_timer.setSingleShot(true); |
