Message from discussion
JFormFieldRadio line breaks?
Received: by 10.236.165.99 with SMTP id d63mr9161343yhl.7.1336155157189;
Fri, 04 May 2012 11:12:37 -0700 (PDT)
X-BeenThere: joomla-dev-general@googlegroups.com
Received: by 10.101.89.1 with SMTP id r1ls262455anl.7.gmail; Fri, 04 May 2012
11:12:33 -0700 (PDT)
Received: by 10.236.187.39 with SMTP id x27mr9176668yhm.4.1336155153612;
Fri, 04 May 2012 11:12:33 -0700 (PDT)
Received: by 10.236.187.39 with SMTP id x27mr9176666yhm.4.1336155153595;
Fri, 04 May 2012 11:12:33 -0700 (PDT)
Return-Path: <m...@betweenbrain.com>
Received: from mail-yw0-f50.google.com (mail-yw0-f50.google.com [209.85.213.50])
by gmr-mx.google.com with ESMTPS id z24si9648300yhh.1.2012.05.04.11.12.33
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 04 May 2012 11:12:33 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning m...@betweenbrain.com does not designate 209.85.213.50 as permitted sender) client-ip=209.85.213.50;
Authentication-Results: gmr-mx.google.com; spf=softfail (google.com: domain of transitioning m...@betweenbrain.com does not designate 209.85.213.50 as permitted sender) smtp.mail=m...@betweenbrain.com
Received: by mail-yw0-f50.google.com with SMTP id j63so3876990yhj.23
for <joomla-dev-general@googlegroups.com>; Fri, 04 May 2012 11:12:33 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:x-gm-message-state;
bh=6FuExdh9lYgD+Pw2oRYYi0VZERzXt48TOfi8nNlOcjU=;
b=cYPYo0ngWTHudp2xvPc4HpHbQUYbpTf1qM79JvTNQL25JQAOCaOi80tsObUDSRRncP
G7KeqCh/hcOrnKfGpya3TJqTbR6zGApb6Y1Rx+uMeyPrGw6kL4dvi8Ci9qNLc0nRSvGn
cRQkWvG8zmRIe2PCKRuh15vS/zRTYEv+4FzKH8qB+IT/Vffd/4HlovNMQoJcBNPcE4CE
QII7H3fEH+aAXwjNCztGt/hxIrszohQ4pFjsXYfWLOru9W+lxPZJan4qdHY2WGw8Ium5
Izhib+cCalWyBHycKsPb1Ki+rdLxCBWpbzUpIT8AjWy7VVsAWJQIiYKCBdEiY13w+xRt
L1Vw==
MIME-Version: 1.0
Received: by 10.50.169.3 with SMTP id aa3mr3667297igc.28.1336155152746; Fri,
04 May 2012 11:12:32 -0700 (PDT)
Received: by 10.231.54.17 with HTTP; Fri, 4 May 2012 11:12:32 -0700 (PDT)
In-Reply-To: <16817810.71.1336154476133.JavaMail.geo-discussion-forums@vbbdh3>
References: <16817810.71.1336154476133.JavaMail.geo-discussion-forums@vbbdh3>
Date: Fri, 4 May 2012 14:12:32 -0400
Message-ID: <CAOXGsbLwgpjeoNhVQOEmRJ2=kzPoJmr=zAjA0yhxWJv8+mk...@mail.gmail.com>
Subject: Re: [jgen] JFormFieldRadio line breaks?
From: Matt Thomas <m...@betweenbrain.com>
To: joomla-dev-general@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8f2343613e88df04bf39dda3
X-Gm-Message-State: ALoCoQl4lcBQN6rmuvHXnwok1patBX/xazCSzPKU7scq6PJmYNNybOkMwZ3LA3fnLADj4kLfrrtS
--e89a8f2343613e88df04bf39dda3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Sound like CSS could fix this. Maybe something as simple as
input,
label {
display:block;
}
Best,
Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>=E2=84=A2
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain
On Fri, May 4, 2012 at 2:01 PM, Craig <csab...@gmail.com> wrote:
> I'm using JFormFieldRadio, and the html looks a little something like:
>
> <input...>
> <label>...</label>
> <input...>
> <label>...</label>
> ...
>
> ...with no other tags in between, so the radio buttons and labels are all
> rendered on a single line. I would expect radio buttons to render more
> like JFormFieldCheckboxes, with list items, so that the checkboxes line u=
p
> on the left with the labels on the right.
>
> I didn't want to hack this, and I expect I'm missing something that makes
> this work; how would I fix this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/kJRt_MtYVYoJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=3Den-GB.
>
--e89a8f2343613e88df04bf39dda3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Sound like CSS could fix this. Maybe=C2=A0something=C2=A0as simple as<div><=
br></div><div>input,</div><div>label {</div><div>=C2=A0 =C2=A0 display:bloc=
k;</div><div>}<div><br clear=3D"all">Best,<br><br>Matt Thomas<div><span sty=
le=3D"font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,=
255,255)">Founder=C2=A0</span><a href=3D"http://betweenbrain.com/" target=
=3D"_blank">betweenbrain</a>=E2=84=A2</div>
<div><font face=3D"arial, sans-serif">Lead Developer=C2=A0</font><a href=3D=
"http://construct-framework.com/" target=3D"_blank">Construct Template Deve=
lopment Framework</a></div><div><span style=3D"font-family:arial,sans-serif=
;font-size:13px;background-color:rgb(255,255,255)">Phone: 203.632.9322<br>
Twitter: @betweenbrain</span><br></div><div><span style=3D"font-family:aria=
l,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Github:=C2=
=A0</span><a href=3D"https://github.com/betweenbrain" target=3D"_blank">htt=
ps://github.com/betweenbrain</a></div>
<br>
<br><br><div class=3D"gmail_quote">On Fri, May 4, 2012 at 2:01 PM, Craig <s=
pan dir=3D"ltr"><<a href=3D"mailto:csab...@gmail.com" target=3D"_blank">=
csab...@gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm using JFormFieldRadio, and the html looks a little something like:<=
div><br></div><div><input...></div><div><label>...</label>=
;</div><div><div><input...></div><div><label>...</label>=
=C2=A0<br>
</div></div><div>...</div><div><br></div><div>...with no other tags in betw=
een, so the radio buttons and labels are all rendered on a single line. I w=
ould expect radio buttons to render more like=C2=A0JFormFieldCheckboxes, wi=
th list items, so that the checkboxes line up on the left with the labels o=
n the right.</div>
<div><br></div><div>I didn't want to hack this, and I expect I'm mi=
ssing something that makes this work; how would I fix this?</div><span clas=
s=3D"HOEnZb"><font color=3D"#888888"><div><br></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Joomla! General Development" group.<br>
To view this discussion on the web, visit <a href=3D"https://groups.google.=
com/d/msg/joomla-dev-general/-/kJRt_MtYVYoJ" target=3D"_blank">https://grou=
ps.google.com/d/msg/joomla-dev-general/-/kJRt_MtYVYoJ</a>.<br>=20
To post to this group, send an email to <a href=3D"mailto:joomla-dev-genera=
l@googlegroups.com" target=3D"_blank">joomla-dev-general@googlegroups.com</=
a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:joomla-dev-=
general%2Bunsubscribe@googlegroups.com" target=3D"_blank">joomla-dev-genera=
l+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/joomla-dev-general?hl=3Den-GB" target=3D"_blank">http://groups.google.=
com/group/joomla-dev-general?hl=3Den-GB</a>.<br>
</font></span></blockquote></div><br></div></div>
--e89a8f2343613e88df04bf39dda3--