PDA

View Full Version : set size spacing in menu toolbar



y0uzha
5 Nov 2014, 10:25 PM
hi i want to asking how to set the spacing between 2 button on my button group

50926

how to make that button more closer?
thx.

here is my code :



xtype: 'buttongroup',
items: [{
xtype: 'button',
html: '<img src="images_new/open.jpg" style="max-height:100%; max width:100%;"/>',
tooltip: {text:'Open Project'},
onClick : function (){
$('#files').click();
}
},{
xtype: 'button',
html: '<img src="images_new/copy.jpg" style="max-height:100%; max-width:100%;"/>',
tooltip: {text:'Create New Project'},
}]

slemmon
7 Nov 2014, 12:24 PM
You might try setting the padding on the buttons to 0.

y0uzha
8 Nov 2014, 7:55 AM
hei thx for your reply. it works. :)