From dd6f448d72f5b07e9503f5e3a389872b3a578583 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 1 Dec 2012 16:52:18 -0800 Subject: [PATCH] Timeline/Track: fix track header resize behavior. --- timeline/src/Track.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/timeline/src/Track.C b/timeline/src/Track.C index cad9312..999c474 100644 --- a/timeline/src/Track.C +++ b/timeline/src/Track.C @@ -914,6 +914,8 @@ Track::internal_draw ( void ) { draw_box(); + pack->resize( x() + Track::width(), y(), w() - Track::width(), h() ); + /* we have to do this first because the pack(s) size isn't known until draw() */ draw_child( *pack );