[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 223174] Add an option to hide scrollbars entirely in fullscreen
From: Melchior Franz <mfranz () kde ! org>
Date: 2011-08-23 19:26:41
Message-ID: E1QvwcT-0003Fx-Vc () bugs ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=223174
Melchior Franz <mfranz@kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mfranz@kde.org
--- Comment #1 from Melchior Franz <mfranz kde org> 2011-08-23 19:26:41 ---
Yes, this is very annoying. Unfortunately, I don't think it'll ever be
implemented, as gwenview is basically about having as few options as possible.
Until a better image viewer pops up, you might want to hack your version:
diff --git a/lib/imageview.cpp b/lib/imageview.cpp
index bb9425d..c2486bc 100644
--- a/lib/imageview.cpp
+++ b/lib/imageview.cpp
@@ -511,8 +511,8 @@ void ImageView::updateScrollBars() {
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
return;
}
- setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
- setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
+ setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
+ setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
int max;
int width = d->mViewport->width();
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic