画面の右下に小さなステータスバーを作りたいです。しかし、extjs は "top" と "left" の値を設定し、結果は中央のウィンドウに引き伸ばされます。
var swindow = new Ext.Window({
width:100,
style:'position:fixed; right:0;bottom:0;',
baseCls:'lk-sysstate-spanel',
shadow: false,
closable:false,
hideBorder: false,
plain: true,
items:[
historyPanel,
smallPanel
]
});
css の結果がブラウザに表示される
element.style {
bottom: 0;
display: block;
left: 675px;
position: fixed;
right: 0;
top: -5000px;
visibility: visible;
width: 98px;
z-index: 9003;
}
ExtJs 3.4 を使用する