Fixed ChatWidget Margin's

Set Alignment for frame off's Video icon
This commit is contained in:
defnax 2015-10-07 01:35:31 +02:00
parent 993ca63106
commit 95bdd7f0a7
3 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,7 @@ QVideoOutputDevice::QVideoOutputDevice(QWidget *parent)
void QVideoOutputDevice::showFrameOff()
{
setPixmap(QPixmap(":/images/video-icon-big.png").scaled(QSize(height()*4/3,height()),Qt::KeepAspectRatio,Qt::SmoothTransformation)) ;
setAlignment(Qt::AlignCenter);
}
void QVideoOutputDevice::showFrame(const QImage& img)

View File

@ -37,6 +37,9 @@
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QFrame" name="infoFrame">
<property name="palette">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB