Enum ListMode
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
Enumeration for setting the list's resizing behavior, transverse axis scrolling, and items cropping.
[Obsolete("This has been deprecated in API12")]
public enum ListMode
Fields
Name | Description |
---|---|
Compress | The list won't set any of its size hints to inform how a possible container should resize it. Then, if it's not created as a "resize object", it might end with zeroed dimensions. The list will respect the container's geometry, and if any of its items won't fit into its transverse axis, one won't be able to scroll it in that direction. |
Expand | Besides setting a minimum size on the transverse axis, just like on limit, the list will set a minimum size on the longitudinal axis, trying to reserve space to all its children to be visible at a time. This is naturally bound by the list object's maximum size hints, set externally. |
Limit | Sets a minimum size hint on the genlist object, so that the containers may respect it (and resize itself to fit the child properly). More specifically, a minimum size hint will be set for its transverse axis, so that the largest item in that direction fits well. This is naturally bound by the list object's maximum size hints, set externally. |
Scroll | This is the same as Compress, with the exception that if any of its items won't fit into its transverse axis, one will be able to scroll it in that direction. |