diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-24 11:15:56 +0100 |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-24 11:17:23 +0100 |
commit | c64d838890cdbfa741683492d8c28ab366fa101b (patch) | |
tree | 2b98440c459d36da752cf0038751342e4def0787 /src/plugins/projectexplorer/buildprogress.cpp | |
parent | 0cd098032c2406c714afea008e557502f1a9e75e (diff) |
Multiple fixes to the progress bars
* made them a few pixels smaller
* they now animate when collapsed
* they no longer fade out when an error is reported
Reviewed-by: thorbjorn
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildprogress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index e9c08a7d88..42b29bef57 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -48,16 +48,16 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow) m_taskWindow(taskWindow) { QVBoxLayout *layout = new QVBoxLayout; - layout->setContentsMargins(8, 4, 0, 4); + layout->setContentsMargins(8, 2, 0, 2); layout->setSpacing(2); setLayout(layout); QHBoxLayout *errorLayout = new QHBoxLayout; - errorLayout->setSpacing(4); + errorLayout->setSpacing(2); layout->addLayout(errorLayout); errorLayout->addWidget(m_errorIcon); errorLayout->addWidget(m_errorLabel); QHBoxLayout *warningLayout = new QHBoxLayout; - warningLayout->setSpacing(4); + warningLayout->setSpacing(2); layout->addLayout(warningLayout); warningLayout->addWidget(m_warningIcon); warningLayout->addWidget(m_warningLabel); |