##// END OF EJS Templates
Change the margins of the drag&drop
trabillard -
r1091:2462f21d8a36
parent child
Show More
@@ -432,7 +432,7 bool VisualizationDragDropContainer::VisualizationDragDropContainerPrivate::find
432 432
433 433 auto posY = pos.y();
434 434 auto dropIndex = floor(posY / graphHeight);
435 auto zoneSize = qMin(graphHeight / 4.0, 75.0);
435 auto zoneSize = graphHeight / 4.0;
436 436
437 437
438 438 auto isOnTop = posY < dropIndex * graphHeight + zoneSize;
@@ -481,7 +481,7 bool VisualizationDragDropContainer::VisualizationDragDropContainerPrivate::find
481 481 }
482 482 }
483 483 else {
484 qCWarning(LOG_VisualizationDragDropContainer())
484 qCInfo(LOG_VisualizationDragDropContainer())
485 485 << tr("VisualizationDragDropContainer::findPlaceHolderPosition, no widget "
486 486 "found in the "
487 487 "container");
General Comments 0
You need to be logged in to leave comments. Login now