View Single Post
Old 12-02-2010, 05:50 PM   #99
timlloyd
Human being with feelings
 
Join Date: Mar 2010
Posts: 4,713
Default

Quote:
Originally Posted by run, megalodon View Post
Making these two numbers "1" binds the left and right edges of the meter to the right edge of the tcp with no stretching or whatever..
Yeah that sounds like just what I want. However it's what I've been messing with already and doesn't want to work, maybe because I'm not defining the tcp.margin first........

I'll have a play with it, but here's my tcp section (I've been doing it from scratch, didn't realise there was a vertical layout in the default already ):

Quote:
; ----------------------------------------------- WALTER -----------------------------------------------

; TRACK CONTROL PANEL

clear tcp.* set tcp.size [300 100]
settcp.trackidx[1320160000]
settcp.foldercomp[2320200000]
set tcp.trackidx [0 2 20 20 0 0 0 0]

; tcp mute/solo/phase
set tcp.mute [99 3 20 20 0 0 0 0]
set tcp.solo [ 118 3 20 20 0 0 0 0]
set tcp.env h>=40 [118 21 20 20 0 0 0 0]

; set tcp recarm/recmon
set tcp.recarm [81 3 20 20 0 0 0 0]
set tcp.recmon h>=40 [100 20 20 20 0 0 0 0]

; tcp meter ------ this is the offending part - the below resizes vertically, but I need a way to "pin" the meter to the right of the tcp using the last 4 values in the […] brackets
set tcp.meter h<=35 [143 4 10 16 0 0 0 0] h<=36 [143 4 10 28 0 0 0 0] h<=50 [143 4 10 41 0 0 0 0] h<=60 [143 4 10 52 0 0 0 0] h<=72 [143 4 10 64 0 0 0 0] h<=89 [143 4 10 81 0 0 0 0] h<=106 [143 4 10 98 0 0 0 0] [143 4 10 98 0 0 0 0]

; ^^^^ there must be a more efficient way of doing the above to achieve the same vertical resizing……

; track name label
rect label_small w<100 [20 2 58 20 0 0 1 0] [20 2 58 20 0 0 0 0]
rect label_2row w<230 label_small [20 2 58 20 0 0 0 0]
set tcp.label h>=49 label_2row w<=330 label_2row [20 2 58 20 0 0 0 0]

///////////////////////
Cheers for the help!
timlloyd is offline   Reply With Quote