View Single Post
Old 08-10-2016, 09:51 AM   #301
Mr. Data
Human being with feelings
 
Mr. Data's Avatar
 
Join Date: Sep 2008
Location: Location
Posts: 5,240
Default

Would it, by any chance, be possible to give us the opportunity to shift and resize elements where necessary in, for instance, the following way to align them?

Hashcode[x,y,w,h]=string


Code:
[DLG_185] ; IDD_SAVEOPTIONS
F82D8812ADB6D26E=Create subdirectory for project
909B744AC415071D[-5,0,+20]=Copy all media into project directory, using:
C90E73117337026E=Convert media
92CE2821A4E6C1EE=Format...
17492618E3105F2C=Trim media, tail size:
4AD4CAC4686A9DBF=Move all media into project directory
BF57174CCB290123[-5,0,-20,+10]=Copy rather than move source media if not in old project media path
;^D8B3B3186B8C817F[-5,+10]=ms
We could use '+' or '-' to shift or resize elements relatively and by leaving +/- out we could do absolute placements of elements.

Examples:


Code:
909B744AC415071D[-5,0,+20]=Copy all media into project directory, using:
This would shift the element 5 pixels left and make it 20 pixels wider. The height value is left out, since it isn't necessary here.


Code:
BF57174CCB290123[-5,0,-20,+10]=Copy rather than move source media if not in old project media path

This would shift the element 5 pixels left, narrow it by 20 pixels and increase the height by 10 pixels, so we could word wrap the string to use the space more efficiently.

By heightening the element it could be necessary to shift elements below it and therefore

Code:
D8B3B3186B8C817F[-5,+10]=ms
might have to be shifted 10 pixels down. In this case width and height values aren't necessary either.

Here's an example of a page of the preferences window.
The original (looks quite nice):



The translated version does show up like this (errm, yeah):



Just BTW: The preferences window is quite huge, because some (other) pages in this window demand it, which probably might not be the case if we could line up things (better).


I'm aware, that it could force us to use some ';^' entries more often, instead of using the [common] string, but dialogs would look more tidy (if done correctly).



-Data
__________________
German Language Pack for REAPER? Get it here!
Deutsche Sprachdatei für REAPER? Hier zu haben!

Last edited by Mr. Data; 10-17-2017 at 05:00 PM.
Mr. Data is offline   Reply With Quote