Servis-Rhino 4211B Betriebsanweisung Seite 171

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 170
right – The right region
center – The center region
splitter – true or false. Can be set on any region except "center".
minSize – The minimum size in pixels if the size is shrunk by the splitter. Specify 0 for
no minimum.
maxSize – The maximum size in pixels if the size is grown by the splitter. Specify
Infinity for maximum.
A particularly useful pattern for BorderContainer is to enclose a widget that "wants" to be 100% in
size but we would like to surround with other widgets.
For example, imagine we have a child widget called "XYZ" that wants to be 100% in size but we
want a label above it. We can then code up:
<div data-dojo-type="dijit/layout/BorderContainer"
data-dojo-props="design: 'headline'"
style="width: 100%; height: 100%;">
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'top'">
Top Content
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'">
… XYZ goes here …
</div>
</div>
See also:
Docs – dijit/layout/BorderContainer – 1.9
Layout width Dijit – 1.9
sitepen - Dojo FAQ: Why doesn’t my BorderContainer display? - 2013-05-02
dojox/layout/TableContainer
This container lays out its children in a table with optional labels either above or beside the entries.
This makes it very useful for creating form entries.
The label is set by the child's "label" or "title" property.
Here is an example:
The orientation property can be used to set the location of the labels relative to the field. Here
we see the same definition with the orientation set to "vert":
Page 171
Seitenansicht 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare