Old 07-24-2020, 08:16 AM   #1
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default Aligning Controls ?

I have added indent indicators to my V6 theme and it has the side effect of breaking control alignment in TCP. Is it possible to have the indent indicators and have the controls aligned please ? Theme is below. Thanks !!!

rtconfig has tcp_folderindent 7 for the folder indent.

https://www.dropbox.com/s/0tq8qvp6ic...z_6.0.zip?dl=0

Last edited by Coachz; 08-19-2020 at 06:18 AM.
Coachz is offline   Reply With Quote
Old 07-29-2020, 03:56 AM   #2
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Are any themers able to please help me out with this issue aligning controls? Thanks for any ideas
Coachz is offline   Reply With Quote
Old 07-29-2020, 04:25 AM   #3
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Just quickly, folder margins deal with this. TCP Folder Margins, page 34 in Walter guide. How to apply that into the default theme mod, where Theme Adjuster can also adjust the alignment is more involved than what I can fathom at this moment.
xpander is online now   Reply With Quote
Old 07-29-2020, 07:26 AM   #4
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Thanks for the reply. Per page 34 of the walter pdf, I tried the following but had no luck. In case it was needing lower folders I tried them at folderdepth of -1 and -2 on each but it made no change.

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


folder depth change, 0=normal, 1=track is a folder parent,
-- -1=track is the last in the innermost folder,
-- -2=track is the last in the innermost and next-innermost folders, etc
Coachz is offline   Reply With Quote
Old 08-03-2020, 06:32 AM   #5
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

any themers able to help a brother out ? :-)
Coachz is offline   Reply With Quote
Old 08-13-2020, 08:22 AM   #6
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

any themers able to help a brother out ? :-)
Coachz is offline   Reply With Quote
Old 08-16-2020, 07:10 AM   #7
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

What happened to theme support ? Did everyone stop doing themes with 6 ?
Coachz is offline   Reply With Quote
Old 08-16-2020, 07:14 AM   #8
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Me, personally, yes, I gave up trying to understand the V6 theme... Just to difficult.

Sorry
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 08-16-2020, 07:31 AM   #9
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by synkrotron View Post
Me, personally, yes, I gave up trying to understand the V6 theme... Just to difficult.

Sorry
I understand for sure. I read the documents and then the complex rtconfig statements and their dependencies on other complex statements make me throw in the towel. I was hoping someone would still be into theming and could easily show me how to align the controls after I made one trivial tweak.

I'll go consider the decisions I have made in life that lead me to this. :-)

Coachz is offline   Reply With Quote
Old 08-16-2020, 08:03 AM   #10
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Hi Coachz

I have to say that it was the complexity of the new V6 theme that made me consider writing my own theme from scratch.

Obviously my theme is not as pretty and not as configurable (without using theme code) as the V5 and V6 themes but I was able to gain a better understanding of the simpler stuff to enable me to create something I was happy to work with.

So that's a question I would like to ask, have you not considered writing something from scratch, or do you feel it would take you too long?

Took me around six weeks, during which I wasn't creating, so it would be understandable if your answer was a firm "no."


cheers

andy
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 08-16-2020, 08:09 AM   #11
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by synkrotron View Post
Hi Coachz

I have to say that it was the complexity of the new V6 theme that made me consider writing my own theme from scratch.

Obviously my theme is not as pretty and not as configurable (without using theme code) as the V5 and V6 themes but I was able to gain a better understanding of the simpler stuff to enable me to create something I was happy to work with.

So that's a question I would like to ask, have you not considered writing something from scratch, or do you feel it would take you too long?

Took me around six weeks, during which I wasn't creating, so it would be understandable if your answer was a firm "no."


cheers

andy
Thanks but default 6 theme works fine for me if I can get the controls aligned. I simply wanted to align the controls after having modified the 6 default theme to add my must have indent indicators. I'm sure it's trivial for a themer to fix.
Coachz is offline   Reply With Quote
Old 08-16-2020, 02:04 PM   #12
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by Coachz View Post
Thanks but default 6 theme works fine for me if I can get the controls aligned. I simply wanted to align the controls after having modified the 6 default theme to add my must have indent indicators. I'm sure it's trivial for a themer to fix.
Okay

Let's hope someone else, who can do advanced stuff, actually bothers to read your post.


cheers

andy
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 08-16-2020, 08:24 PM   #13
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

I would love to help but the default themes code is just complete nonsense to me, I have no problem making themes, but understanding the default theme is just a no go.
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 08-17-2020, 02:42 AM   #14
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Thanks and I understand. I just didn't imagine this alignment would be so hard. Maybe White Tie can show me what adjustment is needed.

Last edited by Coachz; 08-17-2020 at 02:48 AM.
Coachz is offline   Reply With Quote
Old 08-17-2020, 09:08 AM   #15
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Here's something for you to test;
In rtconfig, add these two lines
set tcp.margin +:folderdepth:1 [-7 0 0 0]
set tcp.margin +:maxfolderdepth:1 [7 0 0 0]

into MODDING WITH 'THEN section between set tcp.folder and set tcp.trackidx lines. In Theme Adjuster set Folder indent to None and Align controls to Aligned
.

---
EDIT: I do not recommend this hack to anybody! Proper way to do it is to build the theme AND the script so they work together in this regard. While I got the alignment working with this, it has proven not to be stable enough for real use!

Last edited by xpander; 08-22-2020 at 11:52 AM.
xpander is online now   Reply With Quote
Old 08-17-2020, 10:37 AM   #16
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Thank you xpander. It changes this:



to this adding wide blocks to left of the track number

Coachz is offline   Reply With Quote
Old 08-17-2020, 11:37 AM   #17
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Like this here:



If you want to hang the indent images straight from the track numbers instead, that would have to be another hack from somebody else, I'm afraid...
xpander is online now   Reply With Quote
Old 08-17-2020, 11:46 AM   #18
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by xpander View Post
Like this here:



If you want to hang the indent images straight from the track numbers instead, that would have to be another hack from somebody else, I'm afraid...
How did you do that ? That would be great ! Getting excited !
Coachz is offline   Reply With Quote
Old 08-17-2020, 12:06 PM   #19
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 1,034
Default

Hey Coachz

I might have the answer...

Bring the Theme Adjuster up,
In the TCP section the 'ALIGN CONTROLS' control

Change this from 'FOLDER INDENT' to 'ALIGNED'

Is this what you're looking for?
__________________
My Music
Noise From My Head
On The Links
hwhalen is offline   Reply With Quote
Old 08-17-2020, 12:24 PM   #20
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by Coachz View Post
How did you do that?
Downloaded the theme you linked to in your first post and did the changes I mentioned in my previous post. Hwhalen has a point about align controls set to aligned in Theme Adjuster, but that doesn't make any difference with this mod if the folder indent is set to none. I was not clear about that, sorry. Also, if you actually try to adjust the folder indent, you will get a gap which might well be visually more distracting. Not a point I was even trying to address with this quick mod for which you even already gave the "keys".

Last edited by xpander; 08-17-2020 at 12:31 PM.
xpander is online now   Reply With Quote
Old 08-17-2020, 12:40 PM   #21
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

To be sure, I download the theme in the OP and modified rtconfig.txt. I get the same results without the alignment you are getting regardless of Theme Adjuster settings.

Coachz is offline   Reply With Quote
Old 08-17-2020, 12:45 PM   #22
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 1,034
Default

IMHO...there is no need to mod the V6 theme.
White Tie provided the means to align the controls as you like.

YMMV

Cheers!
__________________
My Music
Noise From My Head
On The Links
hwhalen is offline   Reply With Quote
Old 08-17-2020, 01:01 PM   #23
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by hwhalen View Post
IMHO...there is no need to mod the V6 theme.
White Tie provided the means to align the controls as you like.

YMMV

Cheers!
Not with the indent indicator. Read the OP: I have added indent indicators to my V6 theme and it has the side effect of breaking control alignment in TCP. Is it possible to have the indent indicators and have the controls aligned please ?
Coachz is offline   Reply With Quote
Old 08-17-2020, 01:05 PM   #24
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by xpander View Post
Code:
...

macro drawTcp scale
	set OSoffs                    				os_type==1 [0 2 0 -2]
	set tcp.foldercomp              			?supercollapsed{0} [0] + + [this_tcp_indent] [folder_sec] * scale [0 0 18 19]
	set tcp.folder                  			?supercollapsed{0} [0] + [this_tcp_indent] * [1 scale{0} scale{0} scale{0} 1 1 1 1] [folder_sec 86 18 14 0 1 0 1]
	  set tcp_folder_min						* scale 32
	  set tcp.folder                			h<tcp_folder_min{0} folderstate<0 . [0] .
	
set tcp.margin +:folderdepth:1 [-7 0 0 0]
set tcp.margin +:maxfolderdepth:1 [7 0 0 0]

set tcp.trackidx                 			+ + [0 0 this_tcp_indent] [folder_sec 0 0 0 0 0 0 1] * scale [0 0 18 100]
	  set tcp.trackidx 							?supercollapsed{0} + tcp.trackidx * scale [0 0 0 40]
	  set tcp_idx_margin						- / h 2 * scale 18
	  set tcp.trackidx.margin        			+ [this_tcp_indent] + [0 tcp_idx_margin 0 tcp_idx_margin 0.5] folderstate<0 * scale [0 -6 0 6] folderstate==1 * 		
....
I pasted that exact code but no joy. hmmm Alignment remains elusive. I tried the different Theme adjuster indent and alignment options also but the controls seem unwilling to align vertically.
Coachz is offline   Reply With Quote
Old 08-17-2020, 04:43 PM   #25
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by xpander View Post
Like this here:



If you want to hang the indent images straight from the track numbers instead, that would have to be another hack from somebody else, I'm afraid...
Can you zip the theme where you got it aligning for me to dl please?
Coachz is offline   Reply With Quote
Old 09-09-2020, 06:57 AM   #26
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

I still need help with this if anybody can help me out. Since white tie made the theme it would be most helpful if he could help but I appreciate anybody who can help
Coachz is offline   Reply With Quote
Old 09-09-2020, 06:45 PM   #27
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

Quote:
Originally Posted by Coachz
I pasted that exact code but no joy. hmmm Alignment remains elusive. I tried the different Theme adjuster indent and alignment options also but the controls seem unwilling to align vertically.
xpander's instructions seemed to work fine for me.



1) Make your TCP Theme Adjuster Aligment settings like this:



2) Download, rename and use the RTconfig file attached to this post.

::
__________________
LCS Themes

Last edited by lucas_LCS; 08-31-2021 at 05:23 AM.
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 05:39 AM   #28
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Thank you for your time trying to help me.

I copied the rtconfig and png files and even removed the Coachz_ prefix and tried it both ways with and without the prefix but no luck. I did not have those png files already though. Here is the zip of my theme after the changes.

https://www.dropbox.com/s/6ln8sw4n37...z_6.0.zip?dl=0

Here is my theme before the changes.

https://www.dropbox.com/s/mjel8nq1zy...00910.zip?dl=0

After


Before

Last edited by Coachz; 09-10-2020 at 06:30 AM.
Coachz is offline   Reply With Quote
Old 09-10-2020, 06:54 AM   #29
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

Quote:
Originally Posted by Coachz
I copied the rtconfig and png files and even removed the Coachz_ prefix and tried it both ways with and without the prefix but no luck.
very strange.
I downloaded theme using the link in your first post, then followed xpander's instructions and got the same results he did.
Quote:
Originally Posted by Coachz
maybe try downloading that version and replace it's RTconfig with the one I attached to post #27

2 things:
- rename the rtconfig.txt that's located in the theme's image folder to:
OLD_rtconfig.txt

- rename Coachz_rtconfig.txt to:
rtconfig.txt
then move it to the theme's image folder.

Quote:
Originally Posted by Coachz
I did not have those png files already though.
I don't know what image files are you referring to.
The only change I made was to the RTconfig in the theme you linked to in your first post.


::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 07:02 AM   #30
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Okay. The image files were just the images you had posted to display to me I got confused on that. But the RT config made no difference for me even on the previous file. Would you mind trying it on my current theme that I posted just above. I would be forever grateful
Coachz is offline   Reply With Quote
Old 09-10-2020, 07:06 AM   #31
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

Do you have a dedicated theme adjuster setup?
Look in your Reaper/Scripts/Cockos/ folder and see if you have a script named for your theme.
you can use the one attached to this post if not.
It needs to be in the same folder the default script is in or it won't work.

::
__________________
LCS Themes

Last edited by lucas_LCS; 08-31-2021 at 05:23 AM.
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 07:23 AM   #32
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

I downloaded 'before' & 'after' versions you linked to post #28.
As expected, the 'before' version did not work, but the 'after' version worked fine.

verify you have a custom script set up as I mention in my previous post.

::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 08:00 AM   #33
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

I have the theme adjuster script as I copied yours. I'm not clear why it's not working and also putting a wider block to the left of the track number. Thanks for your help. It has to be something simple. I copied the rtconfig.txt file.



Coachz is offline   Reply With Quote
Old 09-10-2020, 08:36 AM   #34
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

very strange.
Only thing I think of left to try is:
- create a clean, portable Reaper install
- copy your theme and script to the portable install
- do not make any other changes

::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 10:07 AM   #35
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Quote:
Originally Posted by lucas_LCS View Post
very strange.
Only thing I think of left to try is:
- create a clean, portable Reaper install
- copy your theme and script to the portable install
- do not make any other changes

::
I made a clean portable install and copied the theme and script. Same thing. hmmm I even edited the script to show the theme name in the title.




Last edited by Coachz; 08-15-2023 at 07:04 AM.
Coachz is offline   Reply With Quote
Old 09-10-2020, 11:12 AM   #36
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

which version of Reaper are you using?
It worked fine with my portable install of Reaper v6.12c
I checked just now with a clean portable install of Reaper v6.13 and it works as expected:




::
__________________
LCS Themes

Last edited by lucas_LCS; 09-10-2020 at 11:30 AM.
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 12:44 PM   #37
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

reaper613+dev0908_x64-install.exe the latest....what the heck is going on?
Coachz is offline   Reply With Quote
Old 09-10-2020, 01:20 PM   #38
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

try making a portable install of the current release for v6.13 instead of the DEV version.
There may be something in the DEV version causing the issue.
Also try a portable install of the v6.12c release.

::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 02:48 PM   #39
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,099
Default

I made a portable install using the reaper613+dev0908_x64-install.exe
The theme and the Theme Adjuster posted earlier work fine in it:



--------------------------------
The only thing left that I can think of is to:
- make sure to quit or close all instances of Reaper.
- search your drive for:
reaper-extstate.ini
reaper-themeconfig.ini

- rename all instances of this file with a hyphen or BKP at the beginning of the name.
- run Reaper again and test.

--------------------------------
If it's sill not working, try testing with a portable install on another machine that doesn't already have Reaper on it.

::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Old 09-10-2020, 02:59 PM   #40
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

no change unfortunately.



Coachz 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 04:04 AM.


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