Show multiple names in the Credits list better.

This commit is contained in:
Konstantin Isakov 2010-11-14 22:46:38 +03:00
parent 5f4e886ebc
commit 3d6291eca6
2 changed files with 12 additions and 2 deletions

View file

@ -41,8 +41,12 @@ About::About( QWidget * parent ): QDialog( parent )
if ( colon != -1 )
{
str.replace( colon, 1, "</font><br>&nbsp;&nbsp;&nbsp;&nbsp;" );
str.prepend( "<font color='blue'>" );
QString name( str.left( colon ) );
name.replace( ", ", "<br>" );
str = "<font color='blue'>" + name + "</font><br>&nbsp;&nbsp;&nbsp;&nbsp;"
+ str.mid( colon + 1 );
}
html += str;

View file

@ -116,6 +116,12 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>