Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Color Themes and Icon Sets

Reply
 
Thread Tools Display Modes
Old 05-21-2020, 06:57 AM   #1
Mrmot
Human being with feelings
 
Join Date: Apr 2008
Location: Philippines
Posts: 34
Default Help with Walter - track layout positioning

Hello guys, I was wondering if somebody might help me a bit. I'm trying to customize a track layout. The theme is something I made from Commala and Fusion.

I will use this primarily for MIDI tracks (on projects where there are a lot of tracks, the name is most important to me), so I want to primarily see the biggest track name I can with the mute, solo and vertical meters, don't need input_FX and I/O button.



1. That's fine except the unnecessary extra space between the end of the track name and mute button (that empty space doesn't shrink when I shrink the overall width of the track). So I would want less margin space between track label and mute.

2. when I extend the width from (1) I get this - too short track name, too big volume slider, and again the extra empty space till the mute button.

3. when I extend the height of (2), all the same problems as in (2) and also FXbutton is going over the meters and I would like to see the Rec_input device (microphone, DI, midi) dropdown menu visible always, not just when record-armed.

Here's the code:

Code:
Layout "01x -- MIDI" 
		set tcp_yanchor w<360 w<211 h<117 h<95 h<73 h<51 [0 41] [0 30] [0 19] [0 8] [0 8] h<73 h<51 [0 41] [0 30] [0 19] h<73 h<51 [0 41] [0 30] [0 30]
		set y_align [0 0 0 0 0 0.5 0 0.5]
		set tcp.meter + tcp_yanchor w<211 h<51 [0] [345 25 33 12 1 y_align 1 y_align] [80 -42 42 4 1 0 1 0]
		set tcp.meter w>=211 h>4 [375 7 17 85 1 0 1 1] [80 -42 42 4 1 0 1 1] 
		set tcp.fx + tcp_yanchor w<211 h<73 [0] [338 44 24 18 1 y_align 1 y_align] h<51 [0] [338 22 24 18 1 y_align 1 y_align]
		set tcp.fxbyp tcp.fx{x}>0 + [tcp.fx tcp.fx 13 18 1 y_align 1 y_align] [tcp.fx{w}] [0]
		set tcp.recarm.fullmargin + tcp_yanchor [7 0 18 18 0 y_align 0 y_align]
		set tcp.recarm + reverse_margin tcp.recarm.fullmargin
		set tcp_label_fullmargin + tcp_yanchor w<211 [25 1 306 16 0 y_align 1 y_align] w<360 [25 1 250 16 0 y_align 1 y_align] [25 1 78 16 0 y_align 0.5 y_align]
		set tcp.label + + reverse_margin tcp_label_fullmargin margin_to_width
		set tcp.label.margin [3 2 3 3]
		set tcp.mute + tcp_yanchor [325 0 17 18 1 y_align 1 y_align]
		set tcp.solo + tcp_yanchor [345 0 17 18 1 y_align 1 y_align]
		set tcp.volume + tcp_yanchor w<211 h<51 [0] [7 23 322 16 0 y_align 1 y_align] w<270 h<51 [0] [7 23 266 16 0 y_align 1 y_align] w<360 h<51 [0] [7 23 241 16 0 y_align 1 y_align] [109 0 139 18 0.5 y_align 1 y_align]
		set tcp.volume.label tcp.volume{x}>0 + [tcp.volume{w}] w<211 [tcp.volume tcp.volume 3 tcp.volume tcp.volume{rs} y_align tcp.volume{rs} y_align] w<270 [tcp.volume tcp.volume 3 tcp.volume tcp.volume{rs} y_align tcp.volume{rs} y_align] [tcp.volume tcp.volume 28 tcp.volume tcp.volume{rs} y_align tcp.volume{rs} y_align]
		set tcp.volume.label.margin [1 1 3 0 1]
		set tcp.recmode [0]
		set tcp.recinput ?recarm + tcp_yanchor w<211 h<73 [0] [49 45 283 16 0 y_align 1 y_align] w<360 h<73 [0] [49 45 227 16 0 y_align 1 y_align] h<51 [0] [49 23 171 16 0 y_align 1 y_align] [0]
		set tcp.env + tcp_yanchor w<270 h<73 [0] [7 45 15 16 0 y_align 0 y_align] w<360 h<73 [0] [7 45 15 16 0 y_align 0 y_align] h<51 [0] [7 23 15 16 0 y_align 0 y_align]
		set tcp.recmon tcp.env{x}>0 + [21] [tcp.env tcp.env 15 16 tcp.env tcp.env tcp.env tcp.env] [0]
		set tcp.phase [0]
		set tcp.fxin [0]
		set tcp.io [0]
		set tcp.pan + tcp_yanchor w<211 h<95 [0] [7 65 18 18 0 y_align 0 y_align] w<360 h<51 [0] [281 22 18 18 1 y_align 1 y_align] h<51 [0] [225 22 18 18 1 y_align 1 y_align]
		set tcp.pan.label tcp.pan{x}>0 + [tcp.pan{w} 1] [tcp.pan tcp.pan 32 16 tcp.pan y_align tcp.pan y_align] [0]
		set tcp.width trackpanmode>=4 + tcp_yanchor w<211 h<95 [0] [63 65 18 18 0 y_align 0 y_align] w<360 h<73 [0] [281 44 18 18 1 y_align 1 y_align] h<51 [0] [281 22 18 18 1 y_align 1 y_align] [0]
		set tcp.width.label trackpanmode>=4 tcp.width{x}>0 + [tcp.width{w} 2] [tcp.width tcp.width 32 14 tcp.width y_align tcp.width y_align] [0] [0]
		set tcp.fxparm [0]

Thanks a lot!!
Mrmot is offline   Reply With Quote
Old 05-22-2020, 06:09 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
Default

This looks like a reskin of the Default 4 theme, the walter on that is a bit difficult because of all the yanchor and reverse_margin stuff that is specific to the way I made that theme.

You'll need to read the WALTER documentation to learn about how those w< conditions change position of things when the width changes, and how to pick through the polish notation.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 05-24-2020, 01:15 PM   #3
Mrmot
Human being with feelings
 
Join Date: Apr 2008
Location: Philippines
Posts: 34
Default

Quote:
Originally Posted by White Tie View Post
This looks like a reskin of the Default 4 theme, the walter on that is a bit difficult because of all the yanchor and reverse_margin stuff that is specific to the way I made that theme.

You'll need to read the WALTER documentation to learn about how those w< conditions change position of things when the width changes, and how to pick through the polish notation.
Thanks White Tie, I actually managed to make it how I like it after A LOT of playing with all the numbers, it's not perfect cause when I set some specific height and width (which I don't use), there's still some unnecessary space around some buttons, but for my usage, this is exactly what I wanted

Mrmot is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.