Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_MenuGroupPanel.cpp
diff --git
a/src/XGUI/XGUI_MenuGroupPanel.cpp
b/src/XGUI/XGUI_MenuGroupPanel.cpp
index 48a9ce1a87bc81f01734676f6e174917c193a3df..8d5d24b2146206e706922eff835521861c478797 100644
(file)
--- a/
src/XGUI/XGUI_MenuGroupPanel.cpp
+++ b/
src/XGUI/XGUI_MenuGroupPanel.cpp
@@
-32,7
+32,8
@@
void XGUI_MenuGroupPanel::placeWidget(QWidget* theWgt)
myNewRow = 0;
myNewCol++;
}
myNewRow = 0;
myNewCol++;
}
- myLayout->addWidget(theWgt, myNewRow, myNewCol, Qt::AlignLeft);
+ myLayout->addWidget(theWgt, myNewRow, myNewCol);
+ myLayout->setRowStretch(myNewRow, 0);
myNewRow++;
}
myNewRow++;
}
@@
-58,6
+59,7
@@
void XGUI_MenuGroupPanel::resizeEvent(QResizeEvent* theEvent)
foreach(QWidget* eachWidget, myActionWidget) {
placeWidget(eachWidget);
}
foreach(QWidget* eachWidget, myActionWidget) {
placeWidget(eachWidget);
}
+ myLayout->setRowStretch(myMaxRow + 1, 1);
}
XGUI_Command* XGUI_MenuGroupPanel::addFeature(const QString& theId, const QString& theTitle,
}
XGUI_Command* XGUI_MenuGroupPanel::addFeature(const QString& theId, const QString& theTitle,