# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1617636573 0 # Node ID b0e6f8f0a1ff344a5a3b6ac0dbd21b6cc5c292db # Parent e08968d21d45cd8b0efdbea92ae63ce101eebb39 Mac: Port a spinbutton size fix from iOS after noticing the misbehavior after the dwtest change in the last commit. diff -r e08968d21d45 -r b0e6f8f0a1ff mac/dw.m --- 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;