Sketcher fixes: Symmetry arrows properly scaled, fixed icon in constraint taskbar list contextual menu

This commit is contained in:
Abdullah Tahiri 2014-09-18 14:58:22 +02:00 committed by wmayer
parent 524e5cbe32
commit 749abc5ed7
2 changed files with 4 additions and 3 deletions

View File

@ -465,8 +465,9 @@ void SoDatumLabel::GLRender(SoGLRenderAction * action)
// For the symmetry constraint that does not have text, but does have arrows
//this->imgHeight = 3.36f;
//this->imgWidth = 5.26f;
this->imgHeight = 1.5f;
this->imgWidth = 1.5f;
this->imgHeight = scale*25.0f;
this->imgWidth = scale*25.0f;
}
// Get the points stored in the pnt field

View File

@ -125,7 +125,7 @@ void ConstraintView::contextMenuEvent (QContextMenuEvent* event)
QListWidgetItem* item = currentItem();
QList<QListWidgetItem *> items = selectedItems();
CONTEXT_ITEM("Constraint_SelectElements","Select Elements","Sketcher_SelectElementsAssociatedWithConstraints",doSelectConstraints,true)
CONTEXT_ITEM("Sketcher_SelectElementsAssociatedWithConstraints","Select Elements","Sketcher_SelectElementsAssociatedWithConstraints",doSelectConstraints,true)
QAction* sep = menu.addSeparator();