Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 ExtJS4 的新手。我有一个疑问,如果我们将按钮添加到工具栏按钮是从左侧排列的。是否可以从右侧添加按钮?
实际上工具栏正在使用框布局,所以我认为我们需要更改 Box.js 中的选项。我尝试了很多来获得解决方案。但我无法从左侧找到它指定的位置。任何人都可以帮助我。
帮助将不胜感激。
就像那个人说的那样,拉伸布局 1,2 将在右侧。
<table width="100%"> <tr><td width="100%"> l;</td><td>1</td><td>2</td</tr> </table> Ext.create('Ext.toolbar.Toolbar', { ... items: [ '->', { text: '1' }, { text: '2' } ], });
尝试在应该位于右侧的第一项之前添加“->”。