←back to thread

377 points porterde | 5 comments | | HN request time: 1.265s | source
1. wolpoli ◴[] No.42142462[source]
How I missed the frame component in modern day applications. They all seem to think that a bold heading and some extra whitespace at the end is sufficient to group things together.
replies(2): >>42142653 #>>42142754 #
2. DidYaWipe ◴[] No.42142653[source]
Absolutely. The GroupBox is an essential UI decoration that I create manually now that it's not available in toolkits. I put a checkbox on the outline with a label too, when the entire group of controls is related to a function that can be turned on & off... as used to be standard in many UIs, and very clear.

A related missing-but-important one is a proper TabView. I don't know who first passed off a row of plain buttons as a TabView (probably Apple), but it's trash because (like the lack of GroupBox) it does not demarcate what controls below it are ON the selected tab's view! I mean... duh.

3. rietta ◴[] No.42142754[source]
HTML has a fieldset that looks like that. But too many CSS frameworks wreck it. I actually like the look.

To prove it to yourself, place the following in a empty HTML file and see how it renders.

<fieldset> <legend>Frame1</legend> <input type="radio" id="html" name="fav_language" value="HTML"> <label for="html">HTML</label><br> <input type="radio" id="VB6" name="fav_language" value="Visual Basic 6"> <label for="css">CSS</label><br> <input type="radio" id="javascript" name="fav_language" value="JavaScript"> <label for="javascript">JavaScript</label> </fieldset>

replies(1): >>42142994 #
4. jay_kyburz ◴[] No.42142994[source]
or see here for the lazy https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_fi...
replies(1): >>42143360 #
5. lukan ◴[] No.42143360{3}[source]
And here for the w3 haters (if that is still a thing):

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fi...