Commit 865b49da authored by miller86's avatar miller86

adjust default width/height

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7211 18c085ea-50e0-402c-830e-de6fd14e8384
parent a3fcfacc
......@@ -52,7 +52,7 @@
// Static constants
//
const char *QvisFileInformationWindow::titleSeparator =
"================================================";
"==============================================================================";
// ****************************************************************************
// Method: QvisFileInformationWindow::QvisFileInformationWindow
......@@ -115,6 +115,9 @@ QvisFileInformationWindow::~QvisFileInformationWindow()
// Cyrus Harrison, Tue Jun 24 11:15:28 PDT 2008
// Initial Qt4 Port.
//
// Mark C. Miller, Wed May 6 09:47:52 PDT 2009
// Made it set min 'size' instead of just width. Also, increased length of
// titleSeparator to achieve a bit larger size.
// ****************************************************************************
void
......@@ -122,7 +125,8 @@ QvisFileInformationWindow::CreateWindowContents()
{
// Create a multi line edit to display the text.
outputText = new QTextEdit(central);
outputText->setMinimumWidth(fontMetrics().width(titleSeparator));
outputText->setMinimumSize(fontMetrics().width(titleSeparator),
fontMetrics().width(titleSeparator));
outputText->setLineWrapMode(QTextEdit::NoWrap);
outputText->setReadOnly(true);
topLayout->addWidget(outputText);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment