1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

filetransferwidget layout changes

This commit is contained in:
krepa098 2015-01-02 11:14:50 +01:00
parent a0ea0675a7
commit eecd886745
3 changed files with 19 additions and 16 deletions

View File

@ -61,7 +61,7 @@ FileTransferWidget::FileTransferWidget(QWidget *parent, ToxFile file)
if(fileInfo.direction == ToxFile::SENDING)
showPreview(fileInfo.filePath);
setFixedHeight(85);
setFixedHeight(90);
}
FileTransferWidget::~FileTransferWidget()

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>544</width>
<height>207</height>
<width>532</width>
<height>90</height>
</rect>
</property>
<property name="windowTitle">
@ -66,13 +66,13 @@
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
<number>0</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
<number>0</number>
</property>
<item>
<widget class="QLabel" name="filenameLabel">
@ -216,13 +216,15 @@
</property>
<item>
<widget class="QPushButton" name="topButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../res.qrc">
<normaloff>:/ui/fileTransferInstance/pause_2x.png</normaloff>:/ui/fileTransferInstance/pause_2x.png</iconset>
</property>
<property name="iconSize">
<size>
<width>25</width>
@ -249,13 +251,15 @@
</item>
<item>
<widget class="QPushButton" name="bottomButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../res.qrc">
<normaloff>:/ui/fileTransferInstance/arrow_white_2x.png</normaloff>:/ui/fileTransferInstance/arrow_white_2x.png</iconset>
</property>
<property name="iconSize">
<size>
<width>25</width>
@ -275,8 +279,6 @@
</item>
</layout>
</widget>
<resources>
<include location="../../../res.qrc"/>
</resources>
<resources/>
<connections/>
</ui>

View File

@ -8,6 +8,7 @@ QFrame {
QLabel {
color:black;
font:@medium;
}
QPushButton {