From 23fef6b288a7753d1f3c09c4f4d25847cf858179 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 22 Jan 2019 11:18:18 +1100 Subject: [PATCH] fixed redundant padding on timeline tool button container --- panels/timeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/timeline.cpp b/panels/timeline.cpp index 56478292d..40ecc6fc4 100644 --- a/panels/timeline.cpp +++ b/panels/timeline.cpp @@ -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) {