author | mickeyl <mickeyl> | 2005-03-20 18:04:02 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-03-20 18:04:02 (UTC) |
commit | d330608d5c2713f8bde051b91382d0e0e54317ba (patch) (side-by-side diff) | |
tree | 6ee1b6db2ec51caf4e71cba477f5f14900bfbc22 | |
parent | 64104e14e4026658551e7283498eafbe3855e6d5 (diff) | |
download | opie-d330608d5c2713f8bde051b91382d0e0e54317ba.zip opie-d330608d5c2713f8bde051b91382d0e0e54317ba.tar.gz opie-d330608d5c2713f8bde051b91382d0e0e54317ba.tar.bz2 |
sysinfo: reduce margin on syslogtab
-rw-r--r-- | noncore/settings/sysinfo/sysloginfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/sysinfo/sysloginfo.cpp b/noncore/settings/sysinfo/sysloginfo.cpp index a9e98e3..21427f4 100644 --- a/noncore/settings/sysinfo/sysloginfo.cpp +++ b/noncore/settings/sysinfo/sysloginfo.cpp @@ -49,34 +49,34 @@ using namespace Opie::Ui; #include <errno.h> #define SYSLOG_READ 2 #define SYSLOG_READ_ALL 3 #define SYSLOG_READ_ALL_CLEAR 4 #define SYSLOG_UNREAD 9 #undef APPEND const unsigned int bufsize = 16384; char buf[bufsize]; SyslogInfo::SyslogInfo( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { QGridLayout *layout = new QGridLayout( this ); - layout->setSpacing( 4 ); - layout->setMargin( 4 ); + layout->setSpacing( 2 ); + layout->setMargin( 0 ); syslogview = new QTextView( this ); syslogview->setTextFormat( PlainText ); OConfig cfg( "qpe" ); cfg.setGroup( "Appearance" ); syslogview->setFont( QFont( "Fixed", cfg.readNumEntry( "FontSize", 10 ) ) ); layout->addWidget( syslogview, 0, 0 ); syslogview->setText( "..." ); memset( buf, 0, bufsize ); ::klogctl( SYSLOG_READ_ALL, buf, bufsize ); syslogview->setText( buf ); #ifdef APPEND fd = ::open( "/proc/kmsg", O_RDONLY|O_SYNC ); if ( fd == -1 ) |