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
Issue #591 - Highlight of the first argument of constraints
[modules/shaper.git]
/
src
/
NewGeom
/
NewGeom_NestedButton.cpp
diff --git
a/src/NewGeom/NewGeom_NestedButton.cpp
b/src/NewGeom/NewGeom_NestedButton.cpp
index ff42227ce6a4229c1da45e2c4539287324ae69e0..787390bff336a7c2c298de9c8f4b36d17138a64a 100644
(file)
--- a/
src/NewGeom/NewGeom_NestedButton.cpp
+++ b/
src/NewGeom/NewGeom_NestedButton.cpp
@@
-46,6
+46,9
@@
QWidget * NewGeom_NestedButton::createWidget(QWidget * theParent)
QHBoxLayout* aBoxLay = new QHBoxLayout(myButtonFrame);
aBoxLay->setContentsMargins(2, 0, 0, 0);
aBoxLay->setSpacing(1);
QHBoxLayout* aBoxLay = new QHBoxLayout(myButtonFrame);
aBoxLay->setContentsMargins(2, 0, 0, 0);
aBoxLay->setSpacing(1);
+ QSizePolicy aSizePolicy;
+ aSizePolicy.setControlType(QSizePolicy::ToolButton);
+ myButtonFrame->setSizePolicy(aSizePolicy);
myThisButton = new QToolButton(myButtonFrame);
myThisButton->setDefaultAction(this);
myThisButton = new QToolButton(myButtonFrame);
myThisButton->setDefaultAction(this);