From 4137bf116e0abf4696532e183548ef5e9bdc5cf3 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 2 Nov 2024 14:33:28 +0100 Subject: [PATCH] Fix AboutLyX layout * remove wrong (sub)namespaces. This are inserted by newer versions of designer, although they are wrong * add vertical spacer * make horizontal spacer expand (cherry picked from commit 11cbc3c4a765f93268a662846d7082b089b3782b) --- src/frontends/qt/ui/AboutUi.ui | 69 ++++++++++++++++++++-------------- status.24x | 2 + 2 files changed, 43 insertions(+), 28 deletions(-) diff --git a/src/frontends/qt/ui/AboutUi.ui b/src/frontends/qt/ui/AboutUi.ui index 5a03c23180..e4f1bb7be9 100644 --- a/src/frontends/qt/ui/AboutUi.ui +++ b/src/frontends/qt/ui/AboutUi.ui @@ -30,7 +30,7 @@ - QLayout::SizeConstraint::SetFixedSize + QLayout::SetFixedSize @@ -45,7 +45,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -57,31 +57,15 @@ - - - - Qt::Orientation::Horizontal - - - QSizePolicy::Policy::Fixed - - - - 20 - 20 - - - - - Qt::Orientation::Vertical + Qt::Vertical - QSizePolicy::Policy::Fixed + QSizePolicy::Fixed @@ -106,7 +90,7 @@ <html><head/><body><p><span style=" font-weight:600;">LyX version info goes here.</span></p><p>Qt version (run-time) goes here.</p><p>Qt version (compile-time) goes here.</p></body></html> - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter true @@ -115,17 +99,17 @@ 0 - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - Qt::Orientation::Vertical + Qt::Vertical - QSizePolicy::Policy::MinimumExpanding + QSizePolicy::MinimumExpanding @@ -178,7 +162,7 @@ false - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -206,7 +190,7 @@ false - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -253,7 +237,7 @@ false - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -281,6 +265,35 @@ + + + + Qt::Horizontal + + + QSizePolicy::MinimumExpanding + + + + 20 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -415,7 +428,7 @@ - QDialogButtonBox::StandardButton::Close + QDialogButtonBox::Close diff --git a/status.24x b/status.24x index f2d63aed2c..853ef361c2 100644 --- a/status.24x +++ b/status.24x @@ -83,6 +83,8 @@ What's new - Fix problem with display of heading in document float settings. +- Fix some layout problems with the About LyX dialog. + * INTERNALS