I like to place some pictures/buttons on top of a field and adjust the margin of the field according to the picture size.
When I do that and I give focus to the field the picture disappears. Also taking focus from the fields doesn’t always give the picture back until I go over the picture with my cursor.
The same applies to a portal and maybe all controls (I don’t know this for sure)…
No, not really. I want the image on top of the field. Slightly different but necessary since I want the field to be non transparent.
I now define a field/label/button without dataprovider.
Put the image on top of it and set it to transparent.
Put a field (widht of background field - width of image) also on top of the background field.
This is three controls where it could be two or am I thinking like a father trying to solve his 13 year old son’s computer game
I want to use the picture as a button and I want it to be visible based on the content of the field.
What should we see when field is not selected?
When the field is selected (or not) I always want the field to show as well as the picture. But… the problem (or challenge) lies in the fact that I want the picture/button to show as if it is in the field (see screen)
What should we see when user klicks into this field?
See the above…
One could say: take a label, give it an image and right align that image but… In that case the borders will look different than those of the field as shown in the picture (default).