Skip to content
Permalink
Browse files
Reduce margins; hide row header; use DotLine for grid; reduce spacing…
… between rows
  • Loading branch information
NathanW2 authored and jef-n committed Nov 18, 2011
1 parent 2ab61ff commit f0f8a12426bd4faf181d4f8a61c1abeb689e249b
Showing with 6 additions and 2 deletions.
  1. +4 −0 src/gui/qgsmessagelogviewer.cpp
  2. +2 −2 src/ui/qgsmessagelogviewer.ui
@@ -63,6 +63,10 @@ void QgsMessageLogViewer::logMessage( QString message, QString tag, int level )
else
{
w = new QTableWidget( 0, 3, this );
w->verticalHeader()->setDefaultSectionSize( 16 );
w->verticalHeader()->setVisible( false );
w->setGridStyle( Qt::DotLine );
w->setEditTriggers(QAbstractItemView::NoEditTriggers);
w->setHorizontalHeaderLabels( QStringList() << tr( "Timestamp" ) << tr( "Message" ) << "Level" );
tabWidget->addTab( w, tag );
}
@@ -18,10 +18,10 @@
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">

0 comments on commit f0f8a12

Please sign in to comment.