We wouldn't actually want to stack the buttons, we'd do something like the
image below
[image: Inline image 1]
*
*
*
*
*Jared Zimmerman * \\ Director of User Experience \\ Wikimedia
Foundation
M : +1 415 609 4043 | : @JaredZimmerman<https://twitter.com/JaredZimmerman>
On Wed, Oct 16, 2013 at 7:49 PM, S Page <spage(a)wikimedia.org> wrote:
A while back I made
https://gerrit.wikimedia.org/r/#/c/65346/ to add the
"vform" layout (vertically-stacked using Agora buttons) to the HTMLForm
class, and Matt Walker just merged it (thanks!). Forms using HTMLForm can
choose this layout and then they'll resemble the Login and Create account
pages.
As a demonstration the patch changes Special:PasswordReset to use this
layout. It only takes a couple of lines to convert a form:
$form->setDisplayFormat( 'vform' );
// Turn the old-school line around the form off.
$form->setWrapperLegend( false );
http://en.wikipedia.beta.wmflabs.org/wiki/Special:PasswordReset
Cheers,
--
=S Page Features engineer
_______________________________________________
Design mailing list
Design(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/design