mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
panel: have property-view occupy much less space by default
The initially more important part of the panel is clearly the task structure. For longer tasks, the empty properties-view adds a scrollbar to the task when none would be needed.
This commit is contained in:
parent
73fdca1708
commit
853e7324e9
@ -260,6 +260,9 @@ TaskView::TaskView(moveit_rviz_plugin::TaskPanel* parent, rviz::Property* root)
|
||||
: SubPanel(parent), d_ptr(new TaskViewPrivate(this)) {
|
||||
Q_D(TaskView);
|
||||
|
||||
d_ptr->tasks_property_splitter->setStretchFactor(0, 3);
|
||||
d_ptr->tasks_property_splitter->setStretchFactor(1, 1);
|
||||
|
||||
// connect signals
|
||||
connect(d->actionRemoveTaskTreeRows, SIGNAL(triggered()), this, SLOT(removeSelectedStages()));
|
||||
connect(d->actionAddLocalTask, SIGNAL(triggered()), this, SLOT(addTask()));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user