The process by which a form's field can be set out on a page, aligned into rows and/or columns so as to enrich the design and/or render more compact forms. The default layout of forms are single column multiple rows, where fields are rendered one on top of each other.
Questions tagged [form-layout]
41 questions
9
votes
7 answers
Contact Form 7 - Multiple text fields on the same line
I am using Contact Form 7 to design a booking form for a hotel.
http://istanabalian.com/book/
I can't figure out how to customize the layout. I'd like some of the text fields to be displayed on the same line but I don't find the correct…

Benjamin
- 173
- 1
- 2
- 11
8
votes
1 answer
Django crispy-forms, BaseGenericInlineFormSet & allow_delete
I came across a question while working with django-crispy-forms for which I'm unable to get an answer.
I have a rather complex form layout, everything works extremly nice with cripy-forms so far.
One part of the form uses a generic inline formset.…

ohrstrom
- 2,890
- 2
- 20
- 34
5
votes
3 answers
FlowLayoutPanel Height bug when using AutoSize
I have a form holding a TableLayout with 1 column and 3 rows that holds 2 FlowLayoutPanels and a Text box.
All Rows are AutoSize, and the column is set to Percentage=100%.
Each FlowLayoutPanel holds several TextBoxes.
The FlowLayoutPanels are set:…

Yoram
- 179
- 1
- 2
- 9
4
votes
2 answers
Change FormLayout alignment at runtime
Is there a way using JGoodies FormLayout to change the alignment of a component once it has been set?
for example,
CellConstraints cc = new CellCosntraints();
panel.add(component,cc.xy(1,1,CellConstraints.DEFAULT,CellConstraints.FILL));
If I want…

Jeff Storey
- 56,312
- 72
- 233
- 406
3
votes
1 answer
Form field layout issue with Bootstrap 3
I'm a bit of a novice when it comes to Bootstrap and I'm struggling to get some form fields to conform to my desired layout. My sample snippet of HTML code is here:

PongGod
- 829
- 1
- 11
- 19
3
votes
1 answer
Form layout with Material-UI components
What is the best way to lay out Material-UI components on a form? Do you use bootstrap classes such as "form-group" or "container-fluid" or is there a better way?
Thanks!

CCPony
- 988
- 1
- 7
- 20
2
votes
1 answer
IntelliJ Idea GUI Forms: Null Layout
Hey all, I'm migrating from Netbeans to IntelliJ. Now I'm trying to create a GUI form, and, unlike Netbeans, IntelliJ doesn't let you use a "Null Layout". Is there any way to put JComponents inside of a JFrame without using some wierd layout?
Sorry…
user765383
2
votes
1 answer
UWP - How to create a nice data form?
I work on an app that is based on a data form, that contains a lot of fields. The app will be available only on tablets, not on smartphones: so I don't need to manage these devices.
The customer would like that I use PivotItems to organize the…

Gold.strike
- 1,269
- 13
- 47
2
votes
1 answer
set all components to be center of the JFrame
I used FormLayout and I want to set all my components(JLabel and JtextField) to be in the center of the JFrame.
I tried using panel.setAlignmentX and panel.setAlignmentY but it doesn't work.
panel.setAlignmentX(Component.CENTER_ALIGNMENT);
…

user3820292
- 310
- 3
- 19
2
votes
2 answers
Change reading order of html form elements
I'm designing a form like this, where the bottom of the labels in that row align in straight line and the top of the input fields in that row align in straight line.
Owing to some restriction in CSS (we can't fix the height as it will vary), I've to…

code.tweetie
- 614
- 1
- 6
- 16
2
votes
0 answers
Align column width of multiple JGoodies FormLayouts
Using JGoodies FormLayout:
I have a Panel that contains a Salutation, a name and a forename. Let's call it NamePanel I now want to build another Panel that contains the first Panel and adds a few more rows. Let's call it NamedAddressPanel The layout…

Cola Colin
- 233
- 1
- 2
- 10
2
votes
5 answers
Suggestions for making pixel-perfect CSS layouts?
One business goal requires that I make a form on screen that's pixel-perfect. If a user prints this form, it will exactly match the US Government Printing Office version of the form; the printer will produce a (reasonably) scannable copy of this…

Dean J
- 39,360
- 16
- 67
- 93
1
vote
1 answer
Resize composite with FormLayout when it's child wider than displayed area is made visible
I am using SWT. I have parent Composite(level 1), that uses FormLayout and it contains among others another Composite(level 2) also of FormLayout. This Composite has several children(level 3) that are made visible and invisible depending on user…

Jan Hruby
- 1,477
- 1
- 13
- 26
1
vote
0 answers
Qt - FormLayout - Qline below Label
I have discovered Qt recently and I search to make a form like this :
And I succeeded with this code :
#include
#include
int main (int argc, char *argv[])
{
QApplication myApp(argc,argv);
QWidget myWindow;
//…

Juan
- 690
- 4
- 15
1
vote
2 answers
How to combine two grid position in Java?
I want to know how do you combine or merge two grid position using Java grid layout. I am creating a basic java application using the java grid layout(0, 2) with my JFrame and java form components like JLabel and JButton. I want to combine the top…

Ryan
- 133
- 2
- 13