XUL:dialogheader
出典: MDC
« XUL リファレンス HOME [ 例 | 属性 | プロパティ | メソッド | 関連項目 ]
ダイアログのヘッダのボックスです。この要素は dialog の中に置きます。ヘッダには title と description があります。
- 属性
- crop, description, title
[編集] 例
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<dialog id="donothing" title="Dialog example"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<dialogheader title="My dialog" description="Example dialog"/>
<!-- Other widgets -->
</dialog>
[編集] 属性
|
XUL 要素からの継承 |
- crop
- 型: 下記の値のいずれか一つ
- 要素の label に与えられた空間が小さ過ぎるときは、
crop属性によって指定された側のテキストが切り取られます。テキストが切り取られた場所には省略記号 (ellipsis) が使用されます。ボックスの方向が反対の場合は、切り取られる場所も反対側になります。
-
start: テキストは先頭から切り取られます。 -
end: テキストは末尾から切り取られます。 -
left: 非推奨 テキストは左側から切り取られます。 -
right: 非推奨 テキストは右側から切り取られます。 -
center: テキストの中央が切り取られ、通常、テキストの先頭と末尾が表示されます。 -
none: テキストは省略記号を使用して切り取られません。しかし、テキストがあまりに長い場合は単純に削除されます。削除する側は CSS の行揃え (text alignment) に依存します。
- description
- 型: string
- dialog の title に加えて表示される説明的なテキスト。
- title
- 型: string
- window のタイトルバーに表示するためのテキスト。
[編集] プロパティ
|
XUL 要素からの継承 DOM 要素からの継承 |
