[LyX/master] Adjust label size to directory names in About

Juergen Spitzmueller spitz at lyx.org
Mon Feb 22 06:17:31 UTC 2021


commit e050435314b3d3599dc4dbfde6bb974ce88a8434
Author: Daniel Ramoeller <d.lyx at web.de>
Date:   Sun Feb 21 18:28:58 2021 +0100

    Adjust label size to directory names in About
    
    Fix for bug #11946.
---
 src/frontends/qt/GuiAbout.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp
index 6a4a137..b4b599f 100644
--- a/src/frontends/qt/GuiAbout.cpp
+++ b/src/frontends/qt/GuiAbout.cpp
@@ -335,7 +335,9 @@ GuiAbout::GuiAbout(GuiView & lv)
 					    Qt::SmoothTransformation));
 	d->ui.iconLA->setFixedWidth(iconsize);
 	d->ui.dirLibraryLA->setText(dirLibrary());
+	d->ui.dirLibraryLA->adjustSize();
 	d->ui.dirUserLA->setText(dirUser());
+	d->ui.dirUserLA->adjustSize();
 	d->ui.buildinfoTB->setText(buildinfo());
 	d->ui.releasenotesTB->setHtml(release_notes());
 	d->ui.releasenotesTB->setOpenExternalLinks(true);


More information about the lyx-cvs mailing list