Quote:
Originally Posted by cfillion
Setting I_HEIGHTOVERRIDE to 1 should result in the theme's minimum track height being used.
|
Hmm, this sets the collapsed trackheight, but only after I clicked on the track to select it. Before that, it will be ignored.
Not even UpdateArrange seems to have an effect on that.
Code:
fromTrack = reaper.GetTrack(0,0)
A,B=reaper.SetMediaTrackInfo_Value(fromTrack, "I_HEIGHTOVERRIDE", 1)
reaper.UpdateArrange()
Edit: Correction: will be updated only, when I change the track-selection-state of a track.