pmaports/temp/calamares/0001-ViewManager-remove-mainLayout-border.patch
Oliver Smith 2f05e21d67
temp/calamares: upgrade to 3.2.26.1 (MR 1366)
Upgrade to latest bugfix release, and add a patch to fix weird looking
borders on mobile.
2020-06-25 07:15:23 +02:00

26 lines
939 B
Diff

From 6e9b042ff704e410ff8eadc4a07724f1f395f2f2 Mon Sep 17 00:00:00 2001
From: Oliver Smith <ollieparanoid@postmarketos.org>
Date: Wed, 24 Jun 2020 09:51:29 +0200
Subject: [PATCH] ViewManager: remove mainLayout border
This does not look good on mobile. Upstream issue with photo and request
to make it configurable: https://github.com/calamares/calamares/issues/1446
---
src/libcalamaresui/ViewManager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libcalamaresui/ViewManager.cpp b/src/libcalamaresui/ViewManager.cpp
index c78680418..e72c434f8 100644
--- a/src/libcalamaresui/ViewManager.cpp
+++ b/src/libcalamaresui/ViewManager.cpp
@@ -71,6 +71,7 @@ ViewManager::ViewManager( QObject* parent )
Q_ASSERT( !s_instance );
QBoxLayout* mainLayout = new QVBoxLayout;
+ mainLayout->setContentsMargins( 0, 0, 0, 0 );
m_widget->setObjectName( "viewManager" );
m_widget->setLayout( mainLayout );
--
2.20.1