Spacer
An element that takes up space but does not display anything. It is usually used to place spacing within a container. If you don't specify that the spacer has a size or is flexible, the spacer does not occupy any space. If you want a small gap, consider using a separator instead.
Example:
<box> <button label="Left"/> <spacer flex="1"/> <button label="Right"/> </box>
空間を占めるだけで何も表示しない要素。通常、コンテナ内で部品どうしの空間をとるために利用される。 size 属性や flexible 属性が指定されていない spacer 要素は空間を占めない。狭い隙間が必要なら、代わりに separator 要素の利用を考えるべきである。
Example:
<box> <button label="Left"/> <spacer flex="1"/> <button label="Right"/> </box>
属性:
XUL Element から継承:
プロパティとメソッド:
XUL Element から継承:
Element から継承: