Mercurial > dwindows
diff mac/dw.m @ 2431:b0e6f8f0a1ff
Mac: Port a spinbutton size fix from iOS after noticing the misbehavior
after the dwtest change in the last commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 05 Apr 2021 15:29:33 +0000 |
parents | 50e1ddce0aeb |
children | af5487a11954 |
line wrap: on
line diff
--- a/mac/dw.m Mon Apr 05 15:24:08 2021 +0000 +++ b/mac/dw.m Mon Apr 05 15:29:33 2021 +0000 @@ -4836,7 +4836,7 @@ if([object isEditable]) { /* Spinbuttons don't need to be as wide */ - if([object isMemberOfClass:[ DWSpinButton class]]) + if([handle isMemberOfClass:[ DWSpinButton class]]) thiswidth = 50; else thiswidth = 150;