[gnome-builder/wip/gtk4-port: 674/1774] plugins/html-preview: fix use of hexpand/vexpand
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 674/1774] plugins/html-preview: fix use of hexpand/vexpand
- Date: Mon, 11 Jul 2022 22:31:20 +0000 (UTC)
commit 70f83e906ce7cd3b3d31ece6325acd130021dd68
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 20 16:53:50 2022 -0700
plugins/html-preview: fix use of hexpand/vexpand
src/plugins/html-preview/html_preview.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/html-preview/html_preview.py b/src/plugins/html-preview/html_preview.py
index 9a419eb34..1323d664e 100644
--- a/src/plugins/html-preview/html_preview.py
+++ b/src/plugins/html-preview/html_preview.py
@@ -362,7 +362,8 @@ class HtmlPreviewPage(Ide.Page):
self.document = document
self.webview = WebKit2.WebView()
- self.webview.props.expand = True
+ self.webview.props.hexpand = True
+ self.webview.props.vexpand = True
self.webview.connect('decide-policy', self.on_decide_policy_cb)
self.add(self.webview)
self.webview.show()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]