[英]Extjs4 set a button at the very left side of a statusbar
I have a statusbar where I want to set a button at the very left side of it. 我有一个状态栏,我想在它的左侧设置一个按钮。 I can place it left using margin but it does not set completely at left side.
我可以使用边距将其放置,但它不会完全设置在左侧。 But I need to do it.
但我需要这样做。 Can anyone please help me on this ?!
有人可以帮我这个吗?! Here is my code below :
这是我的代码如下:
me.tbar = Ext.create('Ext.ux.StatusBar', {
id: 'showgridtbar',
tooltip: 'Print Payment Details',
topBorder:false,
items: [
{xtype: 'button', iconCls: 'printp', margin: '0 0 0 -90', tooltip: 'Print Payment Details'}
],
}),
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.