If I choose the color popup and there choose for default. than the default color is shown in the line-dialog. only the line becomes always black at the end.
… and that’s what I think the misunderstanding is regarding how the “Choose A Color” dialog itself, and the buttons in it, works. It sounds like you are selecting a color and then clicking the Default button. In your mind, then, clicking the Default button will change the default form border-color for the LAF itself.
In my mind, this is not the case – and my testing bears out this alternate explanation:
–Regardless of what color you choose, clicking the Default button instructs Servoy to refer to the LAF for the LAF’s default border-color. If you click Default you will see in the Properties pane that for color of the form border is “null”.
– In other words, clicking on the Default button does NOT change the default color of the LAF, you would have to edit the LAF itself directly, I believe, to make that change. (But someone correct me if I’m wrong!)
– If you want to set a non-default color as the border color, after choosing a color, click the “OK” button, not the “Default” button.
– If you want a default border width, type, color, etc. that overrides the LAF every time you create a new form, create a Style and use the border-color, border-style, border-width etc. properties. Then apply that style to your forms.
So, to sum up:
-
Try just clicking the OK button instead of the Default button when you are ready to exit the “Choose A Color” window for the border properties.
-
If you want that color, width, etc. border around all your forms (or many of them), create a style…
-
If I am wrong and the Default button is supposed to edit the LAF’s defaults, my apologies for all this wasted bandwidth.
I hope something in here is of some help,
kazar