Created attachment 53800 [details] screenshot of About dialog of Lokalize Version: SVN (using KDE 4.5.80) OS: Linux The new About dialog does not wrap strings. See screenshot. Reproducible: Always
I cannot reproduce in French, the dialog expands to fit the credits, see screenshot.
(In reply to comment #1) > I cannot reproduce in French, the dialog expands to fit the credits, see > screenshot. Did you forget to attach the screenshot?
Created attachment 53807 [details] About Lokalize dialog in French, it expands to fit the strings
Alexander: no! very slow connection!!
Some slavic languages tend to take a lot of space to express something so I guess I should have seen this coming. I'll see if I can implement elision or word wrap, though it won't be easy because I'm laying out stuff manually in the view's delegate. Anne-Marie, can you please also check the translators tab? There's a QLabel on its bottom so this might be what makes your dialog wider, not the items' width.
The label width in Translation tab is inferior in width to the Credits strings. Maybe the Credit string on Alexander's screenshot is way longer and the French one fits by luck! In any case it's better to wrap the string if you can.
Created attachment 53808 [details] Translation tab in Lokalize in French
@annma: may be your dialog is wider because of long tranlation of the KDE SC version string (above the tabbar).
@Alexander: yes you are right indeed, it's the dialog title which is long and thus determines the dialog width
Maybe that string should be wrapped as well. Ideally however for the best visual result it would be nice if translators could always keep it on one row and short enough for the dialog not to grow... Not sure if that's too much to ask
SVN commit 1201822 by mrnjavac: Many layout fixes in the person list delegate, which allow for long text to be word-wrapped. CCBUG:258083 M +67 -42 kaboutapplicationpersonlistdelegate_p.cpp M +5 -0 kaboutapplicationpersonlistdelegate_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1201822
Alexander, before I mark this bug as resolved I'd appreciate if you could please confirm if my last commit fixes the issue in your language.
Wrapping works now. The dialog resizes a bit slow, but I am not sure if that is caused by your commit.
Not sure, the added complexity isn't that much.