Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 392695

Summary: Default theme should not affect padding of Composites and Shell
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2012-10-23 15:50:41 EDT
The default theme adds a substantial padding to the shell. For the shell, this padding has the weird side-effect of shifting the menu away from the upper edge.

Moreover, setting a padding on a Shell or Composite is a responsibility of the layout (in contrast to simple widgets like buttons where the padding cannot be changed programmatically). The default theme should only define a minimal padding if this is necessary for a decent appearance. This padding should be chosen to enable custom layouts, i.e. application developers should not need to override it to implement their layout.
Comment 1 Ivan Furnadjiev CLA 2012-11-05 08:45:56 EST
Remove Shell padding in default theme with commit b67ce2ed8a372bdd889761efa163c35e7c50e121. Default padding for Shell and Composite is now zero.