[Gui] Improve comments regarding move of widget
This commit is contained in:
@@ -183,10 +183,10 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems)
|
||||
if (!_ActionWidget) {
|
||||
_ActionWidget = new QWidget(getMainWindow());
|
||||
_ActionWidget->setObjectName(QStringLiteral("_fc_action_widget_"));
|
||||
// Although _ActionWidget has zero size, on MacOS it somehow has a
|
||||
// 'phantom' size without any visible content and will block the top
|
||||
// left tool buttons of the application main window. So we move it out
|
||||
// of the way.
|
||||
/* Although _ActionWidget has zero size, it somehow has a
|
||||
'phantom' size without any visible content and will block the top
|
||||
left tool buttons and menus of the application main window.
|
||||
Therefore it is moved out of the way. */
|
||||
_ActionWidget->move(QPoint(-100,-100));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user