# HG changeset patch # User dadubrow # Date 1284656181 18000 # Node ID 736964f28d2a1e13545175049835c9fa871ab896 # Parent e290bb67ac00660e8dba356356b83e16888516fe Bug 12104 - Make sure all shared background composites pack at layout diff -r e290bb67ac00 -r 736964f28d2a core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/NavigationBar.java --- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/NavigationBar.java Thu Sep 16 10:15:59 2010 -0500 +++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/NavigationBar.java Thu Sep 16 11:56:21 2010 -0500 @@ -95,9 +95,4 @@ layout(); } - @Override - public void layout() { - super.layout(); - pack(); - } } \ No newline at end of file diff -r e290bb67ac00 -r 736964f28d2a core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/SharedBackgroundComposite.java --- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/SharedBackgroundComposite.java Thu Sep 16 10:15:59 2010 -0500 +++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/editor/SharedBackgroundComposite.java Thu Sep 16 11:56:21 2010 -0500 @@ -62,4 +62,9 @@ // gc.drawRectangle(1, 1, width - 2, height - 2); } + @Override + public void layout() { + super.layout(); + pack(); + } }