Changeset 81279 in vbox
- Timestamp:
- Oct 15, 2019 7:03:11 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133974
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp ¶
r81268 r81279 2075 2075 else 2076 2076 m_fScaleFactorX = width() / (float) m_iInitialWidthNoNumPad; 2077 m_fScaleFactorY = height() / (float) m_iInitialHeight; 2077 2078 if (!m_fHideMultimediaKeys) 2079 m_fScaleFactorY = height() / (float) m_iInitialHeight; 2080 else 2081 m_fScaleFactorY = height() / (float)(m_iInitialHeight - m_multiMediaKeysLayout.totalHeight()); 2078 2082 2079 2083 QPainter painter(this); … … 2088 2092 float fLedMargin = 0.6 * unitSize; 2089 2093 2090 2091 2094 UISoftKeyboardPhysicalLayout *pPhysicalLayout = findPhysicalLayout(m_pCurrentKeyboardLayout->physicalLayoutUuid()); 2092 2095 if (!pPhysicalLayout) … … 2130 2133 2131 2134 m_pCurrentKeyboardLayout->drawTextInRect(key, painter); 2132 2135 /* Draw small LED like circles on the modifier/lock keys: */ 2133 2136 if (key.type() != KeyType_Ordinary) 2134 2137 { -
trunk/src/VBox/Frontends/VirtualBox/xml/multimedia_keys.xml ¶
r81268 r81279 151 151 </key> 152 152 <space> 153 <height> 5</height>153 <height>0</height> 154 154 </space> 155 155 </row>
Note:
See TracChangeset
for help on using the changeset viewer.