Hi
I found various problems with using radio buttons and checkboxes in a form. Please see the screenshots which show all of them. I found:
-
Can’t align radio buttons to make them appear correctly below each other. Example is radio button Alle (top left where it says Rolle) should be more to the right to be just above the radio button Ehemalige. Alignment is random (at least I can’t see a rule) and although the label Gewählte is wider than the label Aktuelle (47 vs 41 px), for some unknown reasons the second radio button laveled Alle is much closer to it!?
-
The alignment of a radio button in a list as in the column “Verantwortlich” is per Default wrong. Is there a CSS style radio like a style check exists? The style sheet doesn’t react on a CSS style radio at least.
-
There is the 1 (of the value list) I should be able to suppress, i. e. to make invisible
-
When pressing the checkbox in the list, a rectangular button appears as “background” of the field. Please note the checkbox is centered (in the field). This can be seen in schreenshot 1.
-
When pressing the radio button in the field, it “jumps” to the center of the field. The reason (I assume) is that I centered the radio button with the form property, but that doesn’t work. As soon as one clicks the radio button it seems to remember that it should be centered .-) This can be seen in screenshot 2.
These are my findings with Servoy 4.1, Mac OS X 10.4.11 and Java 1.5.
Are these all bugs or do I miss something?
TIA, Robert
Hi Robert,
Just to summarize your post, the issue here are:
- Individual radios cannot be styled inside a field (I guess this never worked, you can add a feature request explaining what support should be added for this )
- Horizontal align does not work well for radio in tableview/portal (true, I think this should work, please add a case)
- There is the 1 (of the value list) I should be able to suppress, i. e. to make invisible ( just add a valuelist without display value to achieve this)
- When pressing the checkbox in the list, a rectangular button appears as “background” of the field. ( I can’t see this behavior in my Windows, maybe there is something different in the solution, you can try to change transparency of the checkbox)
Laurian
Hi Laurian
Case made.
lvostinar:
Hi Robert,
Just to summarize your post, the issue here are:
- Individual radios cannot be styled inside a field (I guess this never worked, you can add a feature request explaining what support should be added for this )
Case made.
lvostinar:
2. Horizontal align does not work well for radio in tableview/portal (true, I think this should work, please add a case)
I was trying that in the past and found now that for a boolean field (0|1) set to NOT NULL this value list works: |1 (nothing|1).
lvostinar:
3. There is the 1 (of the value list) I should be able to suppress, i. e. to make invisible ( just add a valuelist without display value to achieve this)
The solution on Mac: radio button field borders set to empty, checkbox field borders set to Default. No idea how this is displayed on Windows and Linux!? Not very consistent behaviour, and I am afraid of multiplatform behaviour.
lvostinar:
4. When pressing the checkbox in the list, a rectangular button appears as “background” of the field. ( I can’t see this behavior in my Windows, maybe there is something different in the solution, you can try to change transparency of the checkbox)
Laurian
Thanks and regards, Robert