From 6b690560fc699e48b76c098ced89d92f12219afc Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 19 Dec 2014 17:41:34 +0000 Subject: [PATCH] correcting icon size git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7773 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- plugins/VOIP/gui/VOIPChatWidgetHolder.cpp | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp b/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp index 650d5686e..659fcd5cb 100644 --- a/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp +++ b/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp @@ -33,11 +33,11 @@ VOIPChatWidgetHolder::VOIPChatWidgetHolder(ChatWidget *chatWidget) audioListenToggleButton = new QToolButton ; audioListenToggleButton->setIcon(icon) ; - audioListenToggleButton->setIconSize(QSize(48,48)) ; + audioListenToggleButton->setIconSize(QSize(42,42)) ; audioListenToggleButton->setAutoRaise(true) ; audioListenToggleButton->setCheckable(true); - audioListenToggleButton->setMinimumSize(QSize(50,50)) ; - audioListenToggleButton->setMaximumSize(QSize(50,50)) ; + audioListenToggleButton->setMinimumSize(QSize(44,44)) ; + audioListenToggleButton->setMaximumSize(QSize(44,44)) ; audioListenToggleButton->setText(QString()) ; audioListenToggleButton->setToolTip(tr("Mute")); @@ -49,20 +49,20 @@ VOIPChatWidgetHolder::VOIPChatWidgetHolder(ChatWidget *chatWidget) icon2.addPixmap(QPixmap(":/images/call-hold.png"),QIcon::Selected,QIcon::On) ; audioCaptureToggleButton = new QToolButton ; - audioCaptureToggleButton->setMinimumSize(QSize(50,50)) ; - audioCaptureToggleButton->setMaximumSize(QSize(50,50)) ; + audioCaptureToggleButton->setMinimumSize(QSize(44,44)) ; + audioCaptureToggleButton->setMaximumSize(QSize(44,44)) ; audioCaptureToggleButton->setText(QString()) ; audioCaptureToggleButton->setToolTip(tr("Start Call")); audioCaptureToggleButton->setIcon(icon2) ; - audioCaptureToggleButton->setIconSize(QSize(48,48)) ; + audioCaptureToggleButton->setIconSize(QSize(42,42)) ; audioCaptureToggleButton->setAutoRaise(true) ; audioCaptureToggleButton->setCheckable(true) ; hangupButton = new QToolButton ; hangupButton->setIcon(QIcon(":/images/call-stop.png")) ; - hangupButton->setIconSize(QSize(48,48)) ; - hangupButton->setMinimumSize(QSize(50,50)) ; - hangupButton->setMaximumSize(QSize(50,50)) ; + hangupButton->setIconSize(QSize(42,42)) ; + hangupButton->setMinimumSize(QSize(44,44)) ; + hangupButton->setMaximumSize(QSize(44,44)) ; hangupButton->setCheckable(false) ; hangupButton->setAutoRaise(true) ; hangupButton->setText(QString()) ; @@ -77,12 +77,12 @@ VOIPChatWidgetHolder::VOIPChatWidgetHolder(ChatWidget *chatWidget) icon3.addPixmap(QPixmap(":/images/video-icon-off.png"),QIcon::Selected,QIcon::On) ; videoCaptureToggleButton = new QToolButton ; - videoCaptureToggleButton->setMinimumSize(QSize(50,50)) ; - videoCaptureToggleButton->setMaximumSize(QSize(50,50)) ; + videoCaptureToggleButton->setMinimumSize(QSize(44,44)) ; + videoCaptureToggleButton->setMaximumSize(QSize(44,44)) ; videoCaptureToggleButton->setText(QString()) ; videoCaptureToggleButton->setToolTip(tr("Start Video Call")); videoCaptureToggleButton->setIcon(icon3) ; - videoCaptureToggleButton->setIconSize(QSize(48,48)) ; + videoCaptureToggleButton->setIconSize(QSize(42,42)) ; videoCaptureToggleButton->setAutoRaise(true) ; videoCaptureToggleButton->setCheckable(true) ;