Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

複数の子要素を含むコンテナ要素。 boxorient 属性が horizontal にセットされていると、子要素はbox内で左から右の順に配置される。 orientvertical だと、子要素は上から下の順に配置される。 子要素が重なることはない。 デフォルトの配置方向は horizontal

詳しい情報は、XUL チュートリアルにあります。

Image:XUL_ref_box.png
<box orient="horizontal">
  <label value="Zero"/>
  <box orient="vertical">
    <label value="One"/>
    <label value="Two"/>
  </box>
  <box orient="horizontal">
    <label value="Three"/>
    <label value="Four"/>
  </box>
</box>

属性

XUL 要素からの継承
align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref, removeelement, sortDirection, sortResource, sortResource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width

プロパティ

XUL 要素からの継承
align, attributes, allowEvents, baseURI, boxObject, builder, childElementCount, childNodes, children, className, clientHeight, clientLeft, clientTop, clientWidth, collapsed, contextMenu, controllers, database, datasources, dir, firstChild, firstElementChild, flex, height, hidden, id, lastChild, lastElementChild, left, localName, maxHeight, maxWidth, menu, minHeight, minWidth, namespaceURI, nextElementSibling, nextSibling, nodeName, nodeType, nodeValue, observes, ordinal, orient, ownerDocument, pack, parentNode, persist, prefix, previousElementSibling, previousSibling, ref, resource, scrollHeight, scrollLeft, scrollTop, scrollWidth, statusText, style, tagName,textContent, tooltip, tooltipText, top, width

メソッド

関連項目

要素
vbox, hbox

 

ドキュメントのタグと貢献者

 このページの貢献者: Marsf, [email protected], Mgjbot, Okome
 最終更新者: Marsf,