diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-19 15:22:57 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-19 15:29:51 +0200 |
commit | e7f9c983dd7a8d2aeb4b14e5621cef89ecc398f6 (patch) | |
tree | d2206a3544acfba5598df229b15e890b7450f1c8 /src/gui/widgets/window.cpp | |
parent | 21d85f8726ad4a15702005247e5241a2056cbbc8 (diff) | |
download | mana-client-e7f9c983dd7a8d2aeb4b14e5621cef89ecc398f6.tar.gz mana-client-e7f9c983dd7a8d2aeb4b14e5621cef89ecc398f6.tar.bz2 mana-client-e7f9c983dd7a8d2aeb4b14e5621cef89ecc398f6.tar.xz mana-client-e7f9c983dd7a8d2aeb4b14e5621cef89ecc398f6.zip |
Made ItemContainer wrap items depending on its width again
This is instead of taking a fixed number of rows and columns. The
inventory and trade window are now resizable again.
Other smaller changes:
* Don't use bold font for the labels in the item container
* Changed "(Eq)" back to "Eq."
* Removed the ugly grid lines
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index f252c5f6..de48dfa2 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -242,7 +242,8 @@ void Window::setMaxHeight(int height) void Window::setResizable(bool r) { - if ((bool) mGrip == r) return; + if ((bool) mGrip == r) + return; if (r) { |