Threaded View
-
11 May 2012 12:21 AM #1
NestedDivFrame appearance relies on background resource in Blue theme
NestedDivFrame appearance relies on background resource in Blue theme
If you take a look at the CSS file for NestedDivFrame, you will notice it is full of sprites like the offending background one:
But there's no ImageResource method for background in the NestedDivFrameResources interface. There is a background ImageResource in the BlueFramedPanelDivFrameResources interface:Code:@sprite .content { gwt-image: 'background'; overflow: visible; height: auto; width: auto; }
This means in any subclass of NestedDivFrame that doesn't use the Blue theme there's trouble.Code:public interface BlueFramedPanelDivFrameResources extends FramedPanelDivFrameResources, ClientBundle { @ImageOptions(repeatStyle = RepeatStyle.Both) ImageResource background(); // Needs to be in NestedDivFrameResources. }
Also, the extends ClientBundle should be in the NestedDivFrameResources interface in my opinion.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote