in reaper walter, i created a custom button for a theme using: + WALTER: create custom…
- User
in reaper walter, i created a custom button for a theme using:
- WALTER: create custom elements by using "custom tcp.custom.xyz [label] [action ID] [accessibility description]" in layouts
what is the resolution of the button? how can i change it? give me a super brief answer, maybe with an example of a solution
- Assistant
The resolution of the button in Reaper's WALTER isn't defined explicitly in the same terms as image resolution. Instead, buttons are sized based on the area you define for them in the layout, often through coordinates or relative sizing. To change its "resolution" or size, you would adjust the area allocated for it in the WALTER script or through the theme editor.
Example solution to change size:
If your current button definition in a WALTER script looks something like this:
plaintextcustom tcp.custom.mybutton [My Button] 1000 "This is my custom button"You would adjust the size by modifying its placement and size in the WALTER script further, often either in the
tcp_layoutormcp_layoutblocks, depending on where you wish the button to appear. For instance, you might define its position and size like so:plaintextset tcp.custom.mybutton [0 0 100 25]Here,
[0 0 100 25]are coordinates and size definitions (x, y, width, height) adjusting the button's "resolution" by making it 100 pixels wide and 25 pixels tall. - User
my problem is that the image is just stretched when i change the size
- Assistant
If the image for your custom button in REAPER's WALTER is just stretched when you change its size, it suggests that you are scaling the button beyond the original dimensions of the image used, causing it to stretch.
- User
i have two knobs drawn in affinity designer and i upload that in walter using that tcp custom line. but the knobs don't appear centered when they appear in reaper
- Assistant
- User
the pgn always appears stretched and i don't know why
- Assistant
- User
im not understanding what im doing wrong
- Assistant
I'll try to simplify the approach to troubleshooting and fixing the issue where your image appears stretched in REAPER when using WALTER for custom elements. Let's break it down into clear, actionable steps.