VirtualBox

Changeset 102164 in vbox for trunk/src


Ignore:
Timestamp:
Nov 20, 2023 5:56:30 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160289
Message:

FE/Qt: bugref:10513: Temporary layout workaround for UIDescriptionEditor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDescriptionEditor.cpp

    r102061 r102164  
    7272    /* Calculate on the basis of font metrics: */
    7373    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;
    7678    // exact. 7 symbols, quite precise:
    7779    const int iHeight = fm.lineSpacing() * 7
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette