 |
Note:
The values you find in here for spacing and layouting can not be used
with the grid layout control currently in usage, and are not meant to
be used with it. The grid layout control as the current SAP layouting
tool does only support very simple design possibilities. For information
how to use the grid layout control see: Grid
Layout / Usage and Types.
A new form layout control is being developed and will be available latest
with the 6.0 version of the portal. The pages about spacing you find under
the first point "1. General" have been written to support the development
of the form layout tool, and to meet the necessities of future design
needs in advance.
Spacing Between Grouped Controls
Spacing in a Tray | What's a Correct
Spacing Good for | Spacing between Groups |
Spacing between Group Controls with Header and Border
| Spacing of Elements in Groups | Arranging
Groups | Spacing Soft Groups
This page describes the detailed spacing between grouped controls. For
the spacing between single controls, see Spacing
Between Single Controls.
The following issues are covered here:
The spacing rules in short:
- Offset between tray border/header and content: 5 pixels
- Spacing between primary and secondary groups: 10 pixels
- Spacing between group controls with header and border: 10 pixels
- Offset within groups, i.e. between group border and content: 5 pixels
- Spacing within groups: 10 pixels between title and content, 10 pixels
between content and buttons
- Spacing between soft groups: 15 pixels horizontally, 30 pixels vertically
Below you find positive and some negative examples for these cases.
Top
Spacing in a Tray
|
This
part of the HTMLB guidlines has been updated. The former specifications
for the tray offset are not valid any longer. The old specifications
are now striked through and replaced by new ones.
The reason for this is that due to technical reasons in EP50 the tray
did not deliver the 5 pixel offset it was supposed to, though the
grid layout control did so. Thus an offset of only five pixels was
possible.
With EP60 the offset for the tray content will be delivered by the
tray itself. See the further specifications.
|
Figure 1a: Offset around a tray
in EP50. The tray offset was only delivered by the grid
layout control and thus is only 5 pixels and not 10 as assumed.
Top
|
|
By EP6.0 the whole content offset of a tray will be delivered by the
tray itself. With the new design for EP60 new design specifications
have been made. The new tray offset is specified in the picture on
the left. |
| Figure 1b: Offset around a tray
in EP60
Top
|
|
Although you do not always need an offset on the right side, you must
always give one to the tray. Whether the offset is needed, depends
to the tray's current size which is dependent to the current layout
of the portal. |
| Figure 2: Example of an offset
around a tray
Top
|
|
Avoid this. No offset at all gives the impression of elements falling
out of the tray. |
| Figure 3: Example of a wrong offset
around a tray |
Top
What's a Correct Spacing Good for
We use offsets for both groupings and caesuras. In the above examples
a 5 pixel offset around the tray's content area ensures that a tray's
content is realized as being in the tray.
Caesuras separate areas from each other. They stress the individual character
of the single area, for instance the group.
Top
Spacing between Primary and Secondary Groups
|
The spacing around grouping controls of the type "primary group"
and "secondary group", i.e., groups without a border and without
a header area, should be 10 pixels. |
| Figure 4: Spacing around
secondary groups
Top
|
|
The caesuras clearly stress three areas, realized as three groups.
|
| Figure 5a: Example of spacing
around secondary groups
Top
|
|
A smaller offset blurs the contrast between secondary group
control and the tray's background. |
| Figure 5c: Example of wrong
spacing around secondary groups |
Top
Spacing between Group Controls with Header and Border
| Group controls with header and border should also be surrounded
by a 10 pixel offset to clearly separate the single groups from
each other. |
|
| Figure 7a: Spacing group
controls with header and border |
|
Top
|
| A smaller offset makes the area around the borders
noisy and disquiet. When more then two borders come together
in a very small space it is very hard to figure out which border
belongs to which group. It becomes even harder, when the borders
have the same color. |
|
| Figure 7b: Example of noisy
interface |
Top
Spacing of Elements in Groups
|
A group's content should be surrounded by an offset of five
pixels. |
| Figure 8a: A group's inner
offset - borders
Top
|
|
Leave an offset of 10 pixels beneath titles and above buttons.
|
| Figure 8b: A group's inner
offset - inner spacing |
Top
Arranging Groups
| Groups must
have a vertical alignment which is achieved by giving them a
width of 50%. A horizontal alignment is nice to have but not
necessary. However, a scenario like the following must be avoided
by any means.
|
|
Figure 9a: Arranged groups
Top
|
|
Figure 9b: Example of unaligned groups |
Top
Spacing Soft Groups
|
All those groupings which are not hold together by a second
or third control that, on the visual side, is rendered as
a box, are called soft groups. Soft groups are formatted text
or elements that are both, gathered under a header and separated
by caesuras. We separate soft groups from each other by using
blank space. The advantage of doing so is, we need less code
as we do not use an additional control. Second, we have a
quite interface as we do not use group boxes with borders
or HTML elements like horizontal rulers. The disadvantage
of this method is, we have to waste a lot of space to clearly
separate single groups from each other.
Use a caesura of 15 pixels to separate soft groups from each
other.
|
| |
|
Figure 10a: Soft groups
Top
|
|
Title and Text can be assigned clearly.
|
|
Figure 10b: Example of soft groups
Top
|
|
It is possible to use a two column layout like in this example.
If doing so, a caesura of 30 pixels should be used.
|
|
Figure 10c: Caesura between a two column layout
Top
|
|
Whenever we decide to use a layout of this kind, we do not
use more then two columns. When using two columns we can decide
between dividing the available space in proportions of:
1/2 and 1/2
or: 2/3 and 1/3
or: 1/3 and 2/3.
|
|
Figure 10d: Multiple column layout
Top
|
|
|