I have a label/button in wich I have to put:
1 - a text
2 - a semitransparent image with ENLARGE property to use it as background
If I make the image enlarge so it overwrite the text.
I wouldn’t put another label above because I have a very complex label-design in wich every label have a specific role.
Exist another way? maybe with using jButton?
Another thing:
If I try to use the jlabel bean and I try to adjust the property"horizontal alignment" an error occur
just leave the image property blank and set the html string as text property.
if you develop cross platform, please be aware that MacOS doesn’t handle body bg image.
To avoid this, create a table in html and use the image as the bg image of a cell…
you can call the media lib from html using ‘media:///yourImageName.png’
I have a doubt.
How to put a field in table mode with the appropriate label “label for” depending on whether we are in edit mode or not. both the field and label are made as enable = false.
Let us imagine that both are buttons as I show in the image. tabla_label_enable.png
The problem is as follows.
I have a form in table mode. With two parts body and the header title.
I like is that both the delete button and the Add button in edit mode are enable = false.
What is the problem I’m having?
As shown in the picture I see a button to add up that if I put it visually and enable = false but the add button of the medium puts me visually as enabled = true
And I repeat visually wrong but the behavior is what I hope is that the add button will not let me add that it is what I want.
So just be missing that visually change the appearance.
I cannot reproduce the issues you have in a small example in latest code of 5.1.4. Do you have a sample to illustrate these issues ? Also, would be better to make a separate topic when coming with other issues (different from topic issues).
I send you a test solution to see the problems that we have discussed above.
The i18n that doesn´t work in smart Client in WebClient it doesn´t show.
I hope this example helps
Yes, it helps. The i18n on labelfor tooltip should indeed work (in smart and web) so please open a case about this. The other issue, with disabled image, is due to the fact that labelfor label is not yet scriptable (so you cannot modify it in javascript and then see the changes in header, only initial properties will be taken). There are already issues for this, not sure when/if will get implemented.