Lines Matching refs:insets
440 // Take into account menu item insets
441 Insets insets = lh.getMenuItem().getInsets();
442 if(insets != null) {
443 result.width += insets.left + insets.right;
444 result.height += insets.top + insets.bottom;
624 private void applyInsets(Rectangle rect, Insets insets) {
625 if(insets != null) {
626 rect.x += insets.left;
627 rect.y += insets.top;
628 rect.width -= (insets.right + rect.x);
629 rect.height -= (insets.bottom + rect.y);