[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53642] Release Notes are truncated when displ
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53642] Release Notes are truncated when displayed in the GUI |
Date: |
Sat, 14 Apr 2018 08:33:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #4, bug #53642 (project octave):
This simple diff switch to using plain text in the QTextBrowser. On the good
side, the text is all there, on the bad side, a variable width font is used so
tables don't line up.
diff -r b0c0a7766d46 -r e4f83fb17094 libgui/src/main-window.cc
--- a/libgui/src/main-window.cc Fri Apr 13 12:55:11 2018 -0700
+++ b/libgui/src/main-window.cc Sat Apr 14 05:16:07 2018 -0700
@@ -473,7 +473,7 @@ namespace octave
m_release_notes_window = new QWidget;
QTextBrowser *browser = new QTextBrowser (m_release_notes_window);
- browser->setText (news);
+ browser->setPlainText (news);
QVBoxLayout *vlayout = new QVBoxLayout;
vlayout->addWidget (browser);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53642>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/