Changeset 87211 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 11, 2021 12:44:28 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r87208 r87211 391 391 /* Closing the find in page widget causes QTextBrowser to jump to the top of the document. This hack puts it back into position: */ 392 392 int iPosition = verticalScrollBar()->value(); 393 m_iMarginForFindWidget = verticalScrollBar()->width() + 394 qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin); 393 395 /* Try to position the widget somewhere meaningful initially: */ 394 396 if (!m_fFindWidgetDragged) -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h
r87208 r87211 58 58 59 59 public slots: 60 60 61 void sltToggleFindInPageWidget(bool fVisible); 61 62 … … 88 89 /* Initilized as false and set to true once the user drag moves the find widget. */ 89 90 bool m_fFindWidgetDragged; 90 constint m_iMarginForFindWidget;91 int m_iMarginForFindWidget; 91 92 /** Document positions of the cursors within the document for all matches. */ 92 93 QVector<int> m_matchedCursorPosition;
Note:
See TracChangeset
for help on using the changeset viewer.