diff options
author | Erihel <erihel@gmail.com> | 2013-04-26 04:56:58 -0700 |
---|---|---|
committer | Erihel <erihel@gmail.com> | 2013-04-26 04:56:58 -0700 |
commit | eb37da86cee79e024998ab39d52183ce4528466b (patch) | |
tree | 7f98ab20082bdb9a0bef14828df6822027d6c70e /src/ui/window.cpp | |
parent | 837a97b65ecfc150d0aa9ab7ae4ba14ed42a0f5e (diff) | |
parent | 02cb9a699352d4cc4cbb0e396d40c0571301fd64 (diff) | |
download | colobot-eb37da86cee79e024998ab39d52183ce4528466b.tar.gz colobot-eb37da86cee79e024998ab39d52183ce4528466b.tar.bz2 colobot-eb37da86cee79e024998ab39d52183ce4528466b.zip |
Merge pull request #187 from xiendev/Programs-list-size
Fixes size of a programs list control
Diffstat (limited to 'src/ui/window.cpp')
-rw-r--r-- | src/ui/window.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/window.cpp b/src/ui/window.cpp index 6013d37..69ef857 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -355,6 +355,9 @@ CSlider* CWindow::CreateSlider(Math::Point pos, Math::Point dim, int icon, Event } // Creates a new list. +// if expand is less then zero, then the list would try to use expand's absolute value, +// and try to scale items to some size, so that dim of the list would not change after +// adjusting CList* CWindow::CreateList(Math::Point pos, Math::Point dim, int icon, EventType eventMsg, float expand) |