Note: final spec
@martijnr, @Tino_Kreutzer and I realized there was some strangeness around the compact, compact-n, horizontal, horizontal-compact appearances. That is, it wasn't exactly clear what their intended behavior was and they are not currently consistently supported by clients.
We had a discussion on this XLSForm spec issue that I wanted to draw attention to.
The current plan is to make the following changes to clients, maintaining backwards compatibility:
compact columns-n(horizontal labels without radio buttons/checkboxes arranged in n columns)
columns-nbut the number of columns is dynamically determined by the screen width. Can combine with
compactto include or exclude radio buttons/checkboxes)
columns-flex(horizontal labels packed in to fit horizontal space with minimal padding.
Can be combined with)
compactto include or exclude radio buttons/checkboxes
In roughly 6 months, once users have updated their clients, change the documentation in the following way:
horizontal-compactshould be deprecated.
columns-flexshould be introduced.
compactshould be an optional modifier
on those.maybe just
horizontal-compact currently don't exist in ODK Collect so overall this change will have minimal impact. I mostly want to share this here so maintainers of other compatible systems are aware of this change. Of course, if you have other thoughts, please share!