Hi
I try to add background image to HorizontalLayout with no success.
I followed
Background image inside Panel and add some posts there.
However my layout is HorizontalLayout.
Here is what I did:
Java:
I think the space should be removed between those two names. Now that means that you have a horizontalLayout and inside of that horizontallayout is a horizontallayout-mainScreenUpperPanel. If you remove the space it means that you are theming a layout which is both a horizontallayout as well as a -mainScreenUpperPanel.
This is of course no issue if mainScreenUpperPanel has somewhere a parent that is another horizontallayout.
the first one means that the two has to be inside each others, while the second means that one element needs to have both. The one suggested by danny means that it only needs to have the second part of it. Both of the solutions work.