fixed redundant padding on timeline tool button container

This commit is contained in:
itsmattkc
2019-01-22 11:18:18 +11:00
parent 3243ba5a46
commit 23fef6b288
+1 -1
View File
@@ -505,7 +505,7 @@ void Timeline::resizeEvent(QResizeEvent *) {
}
int comp_height = tool_button_widget->height();
int cols = qCeil(double(total_client_height)/double(comp_height));
tool_button_widget->setFixedWidth((tool_button_children.at(0)->width())*cols + horizontal_spacing*(cols));
tool_button_widget->setFixedWidth((tool_button_children.at(0)->width())*cols + horizontal_spacing*(cols-1) + 1);
}
void Timeline::delete_in_out(bool ripple) {