From 87efa2e4e75d10bcfc5e9488149384e7d9badea8 Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 5 Aug 2022 16:44:00 +0300 Subject: [PATCH 1/2] ux: make watchlist readonly --- src/jenot/qt/ui/watchlist.ui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jenot/qt/ui/watchlist.ui b/src/jenot/qt/ui/watchlist.ui index 6fefa26..dc2cf49 100644 --- a/src/jenot/qt/ui/watchlist.ui +++ b/src/jenot/qt/ui/watchlist.ui @@ -37,6 +37,9 @@ QAbstractScrollArea::AdjustToContents + + QAbstractItemView::NoEditTriggers + From b06fa4b9e40acc79653258c8b3e5049279977def Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 5 Aug 2022 16:47:28 +0300 Subject: [PATCH 2/2] ux: actually apply vertical layout to watchlist --- src/jenot/qt/ui/watchlist.ui | 44 ++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/src/jenot/qt/ui/watchlist.ui b/src/jenot/qt/ui/watchlist.ui index dc2cf49..c52aef1 100644 --- a/src/jenot/qt/ui/watchlist.ui +++ b/src/jenot/qt/ui/watchlist.ui @@ -19,31 +19,25 @@ Currently watching - - - - 10 - 10 - 341 - 251 - - - - - QLayout::SetMinAndMaxSize - - - - - QAbstractScrollArea::AdjustToContents - - - QAbstractItemView::NoEditTriggers - - - - - + + + + + QLayout::SetMinAndMaxSize + + + + + QAbstractScrollArea::AdjustToContents + + + QAbstractItemView::NoEditTriggers + + + + + +