VirtualBox

Changeset 105989 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 9, 2024 4:13:19 PM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164733
Message:

FE/Qt: UIMenuBarEditor: Removing fixed spacings between auto-created tool-buttons; Fixed policy causing layout troubles going up through whole hierarchy.

File:
1 edited

Legend:

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

    r105081 r105989  
    11231123                    QAccessible::queryAccessibleInterface(pNamedMenuToolButton); // <= new one, proper..
    11241124                }
    1125                 /* Create spacing after named menu tool-button: */
    1126                 QWidget *pSpacing = new QWidget;
    1127                 AssertPtrReturn(pSpacing, 0);
    1128                 {
    1129                     /* Configure spacing: */
    1130                     pSpacing->setFixedSize(5, 1);
    1131                     /* Add spacing into tool-bar: */
    1132                     m_pToolBar->addWidget(pSpacing);
    1133                 }
    11341125            }
    11351126        }
     
    11741165                    QAccessible::deleteAccessibleInterface(QAccessible::uniqueId(pInterface));
    11751166                    QAccessible::queryAccessibleInterface(pCopiedMenuToolButton); // <= new one, proper..
    1176                 }
    1177                 /* Create spacing after copied menu tool-button: */
    1178                 QWidget *pSpacing = new QWidget;
    1179                 AssertPtrReturn(pSpacing, 0);
    1180                 {
    1181                     /* Configure spacing: */
    1182                     pSpacing->setFixedSize(5, 1);
    1183                     /* Add spacing into tool-bar: */
    1184                     m_pToolBar->addWidget(pSpacing);
    11851167                }
    11861168            }
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