projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b469cd2
)
retain track-header width regardless of number-label.
author
Robin Gareus
<robin@gareus.org>
Sun, 31 Aug 2014 22:00:01 +0000
(
00:00
+0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 31 Aug 2014 22:00:20 +0000
(
00:00
+0200)
gtk2_ardour/route_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/route_time_axis.cc
b/gtk2_ardour/route_time_axis.cc
index cc25d85719d369e3cc733cd8a04c73eed5b8dd52..95a58013b449b176c19eed4db1bafc1ee876976a 100644
(file)
--- a/
gtk2_ardour/route_time_axis.cc
+++ b/
gtk2_ardour/route_time_axis.cc
@@
-432,8
+432,10
@@
RouteTimeAxisView::update_track_number_visibility ()
const int tnw = std::max(2u, _session->track_number_decimals()) * 8; // TODO 8 = max_width_of_digit_0_to_9()
number_label.set_size_request(3 + tnw, -1);
number_label.show ();
+ name_hbox.set_size_request(95 - tnw, 0);
} else {
number_label.hide ();
+ name_hbox.set_size_request(100, 0);
}
}