Changed column order

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-12-23 17:07:07 +00:00
parent d958910089
commit 4ae50dd1f8
2 changed files with 13 additions and 31 deletions

View File

@ -78,9 +78,9 @@
#define COLUMN_COUNT 5
#define COLUMN_NAME 0
#define COLUMN_STATE 1
#define COLUMN_LAST_CONTACT 2
#define COLUMN_AVATAR 3
#define COLUMN_AVATAR 1
#define COLUMN_STATE 2
#define COLUMN_LAST_CONTACT 3
#define COLUMN_IP 4
#define COLUMN_DATA 0 // column for storing the userdata id
@ -296,7 +296,7 @@ void FriendList::initializeHeader(bool /*afterLoadSettings*/)
header->resizeSection(COLUMN_NAME, 150);
header->resizeSection(COLUMN_LAST_CONTACT, 120);
}*/
header->resizeSection(COLUMN_NAME, 220);
header->resizeSection(COLUMN_NAME, 200);
header->resizeSection(COLUMN_AVATAR, COLUMN_AVATAR_WIDTH);
}

View File

@ -6,24 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>337</width>
<height>229</height>
<width>475</width>
<height>292</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>0</number>
</property>
<item>
@ -38,16 +29,7 @@
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>2</number>
</property>
<item>
@ -131,6 +113,11 @@
<string>Friends</string>
</property>
</column>
<column>
<property name="text">
<string>Avatar</string>
</property>
</column>
<column>
<property name="text">
<string>Status</string>
@ -141,11 +128,6 @@
<string>Last Contact</string>
</property>
</column>
<column>
<property name="text">
<string>Avatar</string>
</property>
</column>
<column>
<property name="text">
<string>IP</string>