Make the width of details button dependent on its text
Make the width of details button dependent on its text

Task-number: QTCREATORBUG-5311

Change-Id: Ib50dfcb54f2cd23094ca51f2e5ce10890c92a732
Reviewed-on: http://codereview.qt.nokia.com/1166
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@nokia.com>

dmik/qt-creator-os2,darksylinc/qt-creator,darksylinc/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,KDE/android-qt-creator,farseerri/git_code,malikcjm/qtcreator,hdweiss/qt-creator-visualizer,farseerri/git_code,syntheticpp/qt-creator,colede/qtcreator,ostash/qt-creator-i18n-uk,colede/qtcreator,syntheticpp/qt-creator,kuba1/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,xianian/qt-creator,maui-packages/qt-creator,colede/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,colede/qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,azat/qtcreator,hdweiss/qt-creator-visualizer,bakaiadam/collaborative_qt_creator,farseerri/git_code,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,KDAB/KDAB-Creator,azat/qtcreator,bakaiadam/collaborative_qt_creator,dmik/qt-creator-os2,xianian/qt-creator,jonnor/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,Distrotech/qtcreator,KDE/android-qt-creator,KDAB/KDAB-Creator,kuba1/qtcreator,kuba1/qtcreator,dmik/qt-creator-os2,malikcjm/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,jonnor/qt-creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,danimo/qt-creator,syntheticpp/qt-creator,dmik/qt-creator-os2,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,KDE/android-qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,xianian/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,jonnor/qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,xianian/qt-creator,colede/qtcreator,Distrotech/qtcreator,richardmg/qtcreator,xianian/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,azat/qtcreator,jonnor/qt-creator,jonnor/qt-creator,KDE/android-qt-creator,farseerri/git_code,hdweiss/qt-creator-visualizer,martyone/sailfish-qtcreator,syntheticpp/qt-creator,omniacreator/qtcreator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,bakaiadam/collaborative_qt_creator,danimo/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,hdweiss/qt-creator-visualizer,richardmg/qtcreator,richardmg/qtcreator,danimo/qt-creator,azat/qtcreator,danimo/qt-creator,xianian/qt-creator,malikcjm/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,omniacreator/qtcreator,duythanhphan/qt-creator,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,bakaiadam/collaborative_qt_creator,amyvmiwei/qt-creator,xianian/qt-creator,kuba1/qtcreator,dmik/qt-creator-os2,kuba1/qtcreator,kuba1/qtcreator,KDAB/KDAB-Creator,azat/qtcreator,maui-packages/qt-creator,duythanhphan/qt-creator,KDE/android-qt-creator,azat/qtcreator,Distrotech/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,jonnor/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,bakaiadam/collaborative_qt_creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,syntheticpp/qt-creator,bakaiadam/collaborative_qt_creator,Distrotech/qtcreator,KDE/android-qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,farseerri/git_code,farseerri/git_code,dmik/qt-creator-os2,richardmg/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,KDAB/KDAB-Creator,duythanhphan/qt-creator