- Timestamp:
- Nov 20, 2023 5:56:30 PM (17 months ago)
- svn:sync-xref-src-repo-rev:
- 160289
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDescriptionEditor.cpp ¶
r102061 r102164 72 72 /* Calculate on the basis of font metrics: */ 73 73 QFontMetrics fm(m_pTextEdit->font()); 74 // approx. 50 symbols, not very precise: 75 const int iWidth = fm.averageCharWidth() * 50; 74 /// @todo that's somehow glitches on arm macOS, some other widget influencing this, 75 /// need to check why layout srinks if value set to be less .. 76 // approx. 80 symbols, not very precise: 77 const int iWidth = fm.averageCharWidth() * 80; 76 78 // exact. 7 symbols, quite precise: 77 79 const int iHeight = fm.lineSpacing() * 7
Note:
See TracChangeset
for help on using the changeset viewer.