Hide scrollbars via CSS.
This commit is contained in:
parent
1bc5160453
commit
1eb9bb079c
@ -268,8 +268,9 @@ DATA = collections.OrderedDict([
|
||||
"This will flatten all the frames to become one scrollable page."),
|
||||
|
||||
('user-stylesheet',
|
||||
SettingValue(typ.UserStyleSheet(), ''),
|
||||
"User stylesheet to use."),
|
||||
SettingValue(typ.UserStyleSheet(),
|
||||
'::-webkit-scrollbar { width: 0px; height: 0px; }'),
|
||||
"User stylesheet to use (absolute filename or CSS string)."),
|
||||
|
||||
('css-media-type',
|
||||
SettingValue(typ.String(none_ok=True), ''),
|
||||
|
@ -110,7 +110,6 @@ class WebView(QWebView):
|
||||
self.page().networkAccessManager().sslErrors.connect(
|
||||
lambda *args: setattr(self, '_has_ssl_errors', True))
|
||||
self.viewing_source = False
|
||||
# FIXME find some way to hide scrollbars without setScrollBarPolicy
|
||||
|
||||
def __repr__(self):
|
||||
url = self.url().toDisplayString()
|
||||
|
Loading…
Reference in New Issue
Block a user