Changeset 75247 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 5, 2018 9:53:07 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileManager.cpp
r75246 r75247 194 194 195 195 /* Configure layout: */ 196 m_pMainLayout->setSpacing(0);197 196 m_pMainLayout->setContentsMargins(0, 0, 0, 0); 197 #ifdef VBOX_WS_MAC 198 m_pMainLayout->setSpacing(10); 199 #else 200 m_pMainLayout->setSpacing(qApp->style()->pixelMetric(QStyle::PM_LayoutVerticalSpacing) / 2); 201 #endif 198 202 199 203 if (m_fShowToolbar) … … 210 214 211 215 QHBoxLayout *pFileTableContainerLayout = new QHBoxLayout; 212 pFileTableContainerLayout->setSpacing(0);213 216 pFileTableContainerLayout->setContentsMargins(0, 0, 0, 0); 217 #ifdef VBOX_WS_MAC 218 pFileTableContainerLayout->setSpacing(10); 219 #else 220 pFileTableContainerLayout->setSpacing(qApp->style()->pixelMetric(QStyle::PM_LayoutVerticalSpacing) / 2); 221 #endif 214 222 215 223 QWidget *pTopWidget = new QWidget; -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileManagerDialog.cpp
r75136 r75247 100 100 //setWidgetToolbar(pWidget->toolbar()); 101 101 #endif 102 // connect(pWidget, &UIGuestControlWidget::sigSetCloseButtonShortCut,103 // this, &UIGuestControlWidget::sltSetCloseButtonShortCut);102 connect(pWidget, &UIGuestControlFileManager::sigSetCloseButtonShortCut, 103 this, &UIGuestControlFileManagerDialog::sltSetCloseButtonShortCut); 104 104 105 105 /* Add into layout: */
Note:
See TracChangeset
for help on using the changeset viewer.