- Timestamp:
- Jun 2, 2007 4:27:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMLogViewer.ui.h
r2996 r2999 269 269 } 270 270 271 /* creat ing clean log page if there isno logs at all */271 /* create an empty log page if there are no logs at all */ 272 272 if (!isAnyLogPresent) 273 273 { … … 278 278 "button to rescan the log folder <nobr><b>%1</b></nobr>.</p>") 279 279 .arg (logFilesPath)); 280 /* we don't want it to remain white */ 281 dummyLog->setPaper (backgroundBrush()); 280 282 } 281 283 … … 295 297 /* resize the whole log-viewer to fit 80 symbols in text-browser for 296 298 * the first time started */ 297 QTextBrowser *firstPage = static_cast <QTextBrowser*> (mLogList->page(0));299 QTextBrowser *firstPage = static_cast <QTextBrowser *> (mLogList->page(0)); 298 300 int fullWidth = firstPage->fontMetrics().width (QChar ('x')) * 80 + 299 301 firstPage->verticalScrollBar()->width() + 300 302 firstPage->frameWidth() * 2 + 301 1 * 2 /* some one-pixel margin*/ +303 5 + 4 /* left text margin + QTabWidget frame width */ + 302 304 mLogList->margin() * 2 + 303 305 centralWidget()->layout()->margin() * 2;
Note:
See TracChangeset
for help on using the changeset viewer.