-
12 Nov 2008 7:08 AM #1
Opinion on interface
Opinion on interface
Hi,
I have to make an interface like attached file.
The problems, however, are:2)The last button ("%Comparti") should open a dialog
1)The values of the combos are different for each line
In your opinion is it better to use a EditorGrid or formPanel?
In the case of a formPanel how to manage properly the many columns and the few label?
-
12 Nov 2008 11:03 AM #2
hej,
first of all, that's the wrong Forum for such post. It should be in Help(maybe open discussion, but i think you are searching for suggestions and opinions, which are some kind of help for ya, SO HELP!!!
To your question. I highly recommend a EditorGrid, but the screenshot u have added is quite small...,
BUT:
You know we have no idea about it's contents, how someone is able to give a good suggestion??
-
13 Nov 2008 3:33 AM #3
I try to use editor grid and and form panel too.
The problems with editor grid is the combo with different values for each line and the button in the last column. I think you can't insert a Button in a editorGrid.
With the FormPanel i just found the MultiField Component.
I think this solve my problem.
-
13 Nov 2008 7:25 AM #4
[COLOR=#000000][FONT=verdana]
FormPanel form2 = new FormPanel();
form2.setFrame(true);
form2.setHeading(attivita);
form2.setLayout(new FlowLayout());
FieldSet scFieldSet = new FieldSet();
scFieldSet.setHeading("Servizi Comuni");
scFieldSet.setCollapsible(true);
scFieldSet.setLayout(new RowLayout());
FieldSet focFieldSet = new FieldSet();
focFieldSet.setHeading("Funzioni Operative Comuni");
focFieldSet.setCollapsible(true);
focFieldSet.setLayout(new RowLayout());
LabelField genericLabel;
ContentPanel labelsPanel = new ContentPanel(new TableLayout(2));
MultiField labelsMultiField = new MultiField();
labelsMultiField.setSpacing(5);
genericLabel = new LabelField("Descrizione");
genericLabel.setBorders(true);
genericLabel.setWidth(300);
labelsMultiField.add(genericLabel);
genericLabel = new LabelField("Valore");
genericLabel.setBorders(true);
genericLabel.setWidth(60);
labelsMultiField.add(genericLabel);
genericLabel = new LabelField("Tipo Driver");
genericLabel.setBorders(true);
genericLabel.setWidth(300);
labelsMultiField.add(genericLabel);
genericLabel = new LabelField("Unit


Reply With Quote
