]> git.tdb.fi Git - libs/gltk.git/commit
Implement autosize() method for most widgets
authorMikko Rasa <tdb@tdb.fi>
Sun, 27 Feb 2011 16:38:33 +0000 (16:38 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sun, 27 Feb 2011 16:38:33 +0000 (16:38 +0000)
commit43ac7c4514658754d09552463425bcd344fb9ded
tree2e36bc6bf0b7b0aa80a8d51a31eff00950dbbd4a
parent73afd124ab87e8bace98db55517a56c797a9b8c7
Implement autosize() method for most widgets
Only take content size into account if the relevant Part exists
Change List autosize() to set a height suitable for five rows
Additional methods to autosize for a set number of rows or all rows
Make sure that a Dropdown's List fits inside the Root
19 files changed:
source/button.cpp
source/button.h
source/dropdown.cpp
source/dropdown.h
source/entry.cpp
source/entry.h
source/hslider.cpp
source/hslider.h
source/image.cpp
source/image.h
source/label.cpp
source/list.cpp
source/list.h
source/toggle.cpp
source/toggle.h
source/vslider.cpp
source/vslider.h
source/widget.cpp
source/widget.h