comparison mac/dw.m @ 1432:6aa94c8a91de

Bordered bitmap buttons need extra padding.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 04 Dec 2011 21:49:42 +0000
parents fbaec6e5df63
children 3c5287b8eebb
comparison
equal deleted inserted replaced
1431:0676561865ac 1432:6aa94c8a91de
3575 { 3575 {
3576 /* Image button */ 3576 /* Image button */
3577 NSSize size = [image size]; 3577 NSSize size = [image size];
3578 thiswidth = (int)size.width; 3578 thiswidth = (int)size.width;
3579 thisheight = (int)size.height; 3579 thisheight = (int)size.height;
3580 if([object isBordered])
3581 {
3582 extrawidth = 4;
3583 extraheight = 4;
3584 }
3580 } 3585 }
3581 else 3586 else
3582 { 3587 {
3583 /* Text button */ 3588 /* Text button */
3584 nsstr = [object title]; 3589 nsstr = [object title];