39 NSRect basicIDFrame, secondaryIDFrame, targetSelfFrame, rootFrame;
45 basicIDFrame = [_basicIdentityField frame];
46 secondaryIDFrame = [_secondaryIdentityField frame];
47 targetSelfFrame = [_targetSelfButton frame];
50 if (![
object inspCanBecomeTarget])
53 [_targetSelfButton removeFromSuperview];
55 basicIDFrame.size.width = secondaryIDFrame.size.width;
58 if (![
object inspHasSecondaryIdentityLine])
61 delta = basicIDFrame.origin.y - secondaryIDFrame.origin.y;
62 [_secondaryIdentityField removeFromSuperview];
65 rootFrame.size.height -= delta;
66 basicIDFrame.origin.y -= delta;
67 targetSelfFrame.origin.y -= delta;
72 [_basicIdentityField setFrame:basicIDFrame];
73 [_secondaryIdentityField setFrame:secondaryIDFrame];
74 [_targetSelfButton setFrame:targetSelfFrame];