Old 04-08-2014, 11:33 PM   #1
Viente
Human being with feelings
 
Viente's Avatar
 
Join Date: Feb 2012
Posts: 1,972
Default Align elements when indented

Is it possible to align elements when tracks are indented?

Basicaly i want some margin only for left aligned elements to be in the same row as indented elements


Viente is offline   Reply With Quote
Old 04-09-2014, 01:13 AM   #2
spinlud
Human being with feelings
 
Join Date: Jun 2012
Posts: 442
Default

Hi, maybe this can help you (page 35 of walter manual):

<<Lining up elements in the TCP has some nice micro-workflow advantages for you users, so when the run their mouse up and down the TCP its always the same button that falls under the pointer, and they are able to judge relative levels from track to track for things like meters and faders. However, REAPER will by default always try to make use of any available space, so varying levels of folder hierarchy will result in varying positions of left attached elements. We can change that with WALTER:

tcp_folderindent 13
set tcp.margin +:folderdepth:1 [-13 0 0 0]
set tcp.margin +:maxfolderdepth:1 [13 0 0 0]

Line 1 - For each hierarchy level, all the panel elements are going to get pushed right by 13 pixels, and that is the space that will be filled with the folder_indent images.

Line 2 - We ‘ve got our folder_indent images from statement 1, now statement 2 undoes the bit we didn’t want , all the element movement, by pushing all the panel elements to the left by 13 pixels for each hierarchy level (folderdepth multiplied by -13).

Line 3 sums with Line 2 and now moves all the panel elements on each track, no matter what its folder hierarchy level, all the way right by enough to get clear of any and all folder_indent images, that being 13 pixels multiplied by the maximum folder hierarchy depth for the whole project.>>


I add also these 2 statements that can help you when working on indented tcp:

set reverse.margin * [-1] tcp.margin
set margin.to.width [0 0 tcp.margin{x} 0]
spinlud is offline   Reply With Quote
Old 04-15-2014, 04:04 AM   #3
Viente
Human being with feelings
 
Viente's Avatar
 
Join Date: Feb 2012
Posts: 1,972
Default

Thank you spinlud! I'll try it now
Viente 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 02:18 PM.


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