Changeset 104982 in vbox
- Timestamp:
- Jun 20, 2024 1:28:23 PM (9 months ago)
- svn:sync-xref-src-repo-rev:
- 163592
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QILineEdit.cpp
r104981 r104982 89 89 if (m_pLabelIcon) 90 90 m_pLabelIcon->setVisible(fMarkable); 91 92 /* Update label position on visibility changes: */ 93 moveIconLabel(); 91 94 } 92 95 … … 108 111 m_pLabelIcon->setToolTip(strToolTip); 109 112 m_iIconMargin = (height() - m_pLabelIcon->height()) / 2; 110 update(); 113 114 /* Update label position on icon changes: */ 115 moveIconLabel(); 111 116 } 112 117 … … 201 206 /* We do it cause we have manual layout for the label: */ 202 207 m_pLabelIcon->move(width() - m_pLabelIcon->width() - m_iIconMargin, m_iIconMargin); 203 } 208 update(); 209 }
Note:
See TracChangeset
for help on using the changeset viewer.