Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

feature request: controlgroup horizontal/vertical switcher #1574

Closed
frequent opened this issue May 6, 2011 · 1 comment
Closed

feature request: controlgroup horizontal/vertical switcher #1574

frequent opened this issue May 6, 2011 · 1 comment

Comments

@frequent
Copy link
Contributor

frequent commented May 6, 2011

When you use data-role="controlgroup" data-type="horizontal" and the screen/parent width is too small, the controlgroup breaks into "two lines"

See here:
Controlgroup
Controlgroup broken

It would be nice to have a horizontal/vertical switcher for controlgroups, comparing element and parent/screen width and switching from horizontal to vertical controlgroup when element width > parent/screen element width (and back of course)

I guess not top priority at this point, but a nice-to-have

BTW: the three buttons in the controlgroup are 2 selects and 1 checkbox, I managed to "tame" via CSS. Not perfect yet, but in case you are planning to allow other inputs for controlgroups I would be happy to supply some CSS.

@toddparker
Copy link
Contributor

Added to the feature request wiki:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants