summaryrefslogtreecommitdiffstats
path: root/src/ui/interface.cpp
diff options
context:
space:
mode:
authorXienDev <XienDev@gmail.com>2013-04-25 22:11:36 +0300
committerXienDev <XienDev@gmail.com>2013-04-25 22:11:36 +0300
commit02cb9a699352d4cc4cbb0e396d40c0571301fd64 (patch)
tree7c67e2f716495162be6b95b941dff9011ae1e587 /src/ui/interface.cpp
parent6a1dba0f153adbe99333f8205ba06404351b7aa7 (diff)
downloadcolobot-02cb9a699352d4cc4cbb0e396d40c0571301fd64.tar.gz
colobot-02cb9a699352d4cc4cbb0e396d40c0571301fd64.tar.bz2
colobot-02cb9a699352d4cc4cbb0e396d40c0571301fd64.zip
Fixes programs list size
Diffstat (limited to 'src/ui/interface.cpp')
-rw-r--r--src/ui/interface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index 24d2626..893cd05 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -197,6 +197,9 @@ CSlider* CInterface::CreateSlider(Math::Point pos, Math::Point dim, int icon, Ev
}
// 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* CInterface::CreateList(Math::Point pos, Math::Point dim, int icon, EventType eventMsg, float expand)
{