0

我有以下 tbar 项目。我试图左对齐按钮内的文本。但我无法这样做。有什么建议么?

                        {
                            tbar: [
                                {
                                    xtype: 'button',
                                    text: 'Home',
                                    width: 120,
                                    align:'left',   
                                    handler: function() {
                                        document.location.href = BasePath; 
                                    }
                                }                                   

                            ]
                        },
                        {
                            tbar: [
                                {
                                    xtype: 'button',
                                    text: 'View Transfer Numbers',
                                    width: 120,                                         
                                    handler: function() {
                                        document.location.href =BasePath+'transfer'; 
                                    }
                                }                                   

                            ]
                        }
4

1 回答 1

0

文本对齐:字符串

这就是我在上面所做的以获得我的解决方案

于 2012-12-07T20:41:11.500 回答