Support and General Use > Theming and Appearance Customization
Possible to auto-size viewports for translated words?
Llorean:
This would basically require viewports to be able to be positioned relative to other viewport boundaries rather than absolutely.
If one viewport got three characters wider, it would have to affect all other viewports it might now overlap unless you kept that space empty in advance (in which case there would've been no real reason not to have it wider in the first place).
Honestly, it's never going to look good in all languages - if you set it to expand or contract relative to the language some languages will always have weird effects.
My suggestion would be to just accept that it can't be perfect everywhere, and pick a few languages to test it in, and try to tune it manually to work for those languages, rather than hoping for an automatic solution that's likely to fail anyway.
Multiplex:
Thinking about this is a different way...
Maybe there could be some syntax for marking the fixed portion and scrolling portion of a line?
Perhaps putting the %s at the first position that is to scroll so you would have something like;
%ar%Sx|Next:|%s%?It<%It|%Sx|<No Info>|>
Just a thought - I have no idea how practical it is.
Llorean:
I don't know either, but it seems a much simpler to use and predict (from the WPS author's standpoint) solution to the problem.
iPodFoo:
--- Quote ---Perhaps putting the %s at the first position that is to scroll so you would have something like;
%ar%Sx|Next:|%s%?It<%It|%Sx|<No Info>|>
--- End quote ---
I already tried that. It scrolls the whole line unfortunately.
pixelma:
Yes, currently %s will scroll the whole line, no matter at which position it is.
I think Multiplex wanted to suggest this as a feature which could possibly be more simple to implement than dynamically resizing of viewports. Additionally there once was a patch by lowlight if I remember correctly which exactly did this and I saw it working fairly well on my Ondio. This was way before viewports and even before scrolling margins (in the SVN version).
Found in the patch tracker: FS#5907
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version