diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:00:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:30:17 +0300 |
commit | 7a7f5905cf19f6a773dcf9bab762b54c16e325f2 (patch) | |
tree | 4c891cfaa2eadeecd0685782d8cf561c2a79dbf8 /src/gui/updaterwindow.cpp | |
parent | 0c7a1466e8c2c2dd6e15779368c87b62b2da601f (diff) | |
download | manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.gz manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.bz2 manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.xz manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.zip |
Add support for padding in progress bars.
Also fixed progress bars size.
New progress bar attributes:
fillPadding - padding for will rectangle
padding - normal padding for bar
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp index 83b0756c9..23c51c109 100644 --- a/src/gui/updaterwindow.cpp +++ b/src/gui/updaterwindow.cpp @@ -159,7 +159,7 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost, mLabel(new Label(_("Connecting..."))), mCancelButton(new Button(_("Cancel"), "cancel", this)), mPlayButton(new Button(_("Play"), "play", this)), - mProgressBar(new ProgressBar(0.0, 310, 20)), + mProgressBar(new ProgressBar(0.0, 310, 0)), mBrowserBox(new BrowserBox), mScrollArea(new ScrollArea(mBrowserBox, true, "update_background.xml")), mUpdateServerPath(mUpdateHost) |