From b77ebcf07fc42aef0d71283f552079e4777f9a9f Mon Sep 17 00:00:00 2001 From: miro Date: Sun, 17 Nov 2024 10:13:05 +0000 Subject: [PATCH] fix:full_width_pages --- ovos_gui/res/gui/qt5/SYSTEM_AnimatedImageFrame.qml | 1 + ovos_gui/res/gui/qt5/SYSTEM_HtmlFrame.qml | 1 + ovos_gui/res/gui/qt5/SYSTEM_ImageFrame.qml | 1 + ovos_gui/res/gui/qt5/SYSTEM_TextFrame.qml | 1 + ovos_gui/res/gui/qt5/SYSTEM_UrlFrame.qml | 1 + 5 files changed, 5 insertions(+) diff --git a/ovos_gui/res/gui/qt5/SYSTEM_AnimatedImageFrame.qml b/ovos_gui/res/gui/qt5/SYSTEM_AnimatedImageFrame.qml index 1df514c..213e34a 100644 --- a/ovos_gui/res/gui/qt5/SYSTEM_AnimatedImageFrame.qml +++ b/ovos_gui/res/gui/qt5/SYSTEM_AnimatedImageFrame.qml @@ -10,6 +10,7 @@ Mycroft.Delegate { skillBackgroundColorOverlay: sessionData.background_color ? sessionData.background_color : "#000000" property bool hasTitle: sessionData.title.length > 0 ? true : false property bool hasCaption: sessionData.caption.length > 0 ? true : false + fillWidth: true ColumnLayout { id: systemImageFrameLayout diff --git a/ovos_gui/res/gui/qt5/SYSTEM_HtmlFrame.qml b/ovos_gui/res/gui/qt5/SYSTEM_HtmlFrame.qml index fb5dcc6..8cf023a 100644 --- a/ovos_gui/res/gui/qt5/SYSTEM_HtmlFrame.qml +++ b/ovos_gui/res/gui/qt5/SYSTEM_HtmlFrame.qml @@ -8,6 +8,7 @@ import Mycroft 1.0 as Mycroft Mycroft.Delegate { id: systemHtmlFrame skillBackgroundColorOverlay: "#000000" + fillWidth: true Loader { id: webViewHtmlLoader diff --git a/ovos_gui/res/gui/qt5/SYSTEM_ImageFrame.qml b/ovos_gui/res/gui/qt5/SYSTEM_ImageFrame.qml index 7eb8ba4..a9a374b 100644 --- a/ovos_gui/res/gui/qt5/SYSTEM_ImageFrame.qml +++ b/ovos_gui/res/gui/qt5/SYSTEM_ImageFrame.qml @@ -10,6 +10,7 @@ Mycroft.Delegate { skillBackgroundColorOverlay: sessionData.background_color ? sessionData.background_color : "#000000" property bool hasTitle: sessionData.title.length > 0 ? true : false property bool hasCaption: sessionData.caption.length > 0 ? true : false + fillWidth: true ColumnLayout { id: systemImageFrameLayout diff --git a/ovos_gui/res/gui/qt5/SYSTEM_TextFrame.qml b/ovos_gui/res/gui/qt5/SYSTEM_TextFrame.qml index ebe7985..ee91373 100644 --- a/ovos_gui/res/gui/qt5/SYSTEM_TextFrame.qml +++ b/ovos_gui/res/gui/qt5/SYSTEM_TextFrame.qml @@ -9,6 +9,7 @@ Mycroft.CardDelegate { id: systemTextFrame skillBackgroundColorOverlay: "#000000" cardBackgroundOverlayColor: "#000000" + fillWidth: true property bool hasTitle: sessionData.title.length > 0 ? true : false diff --git a/ovos_gui/res/gui/qt5/SYSTEM_UrlFrame.qml b/ovos_gui/res/gui/qt5/SYSTEM_UrlFrame.qml index 33b197a..29c915a 100644 --- a/ovos_gui/res/gui/qt5/SYSTEM_UrlFrame.qml +++ b/ovos_gui/res/gui/qt5/SYSTEM_UrlFrame.qml @@ -8,6 +8,7 @@ import Mycroft 1.0 as Mycroft Mycroft.AbstractDelegate { id: systemUrlFrame property var pageUrl: sessionData.url + fillWidth: true onPageUrlChanged: { if(typeof pageUrl !== "undefined" || typeof pageUrl !== null){