boolean (final RadComponent component) { AlignPropertyProvider provider = getAlignPropertyProvider(component); if (provider != null) { return provider.isAlignmentModified(component, myHorizontal); } final ComponentItem item = component.getPalette().getItem(component.getComponentClassName()); if (item == null) return false; return Utils.alignFromConstraints(component.getConstraints(), myHorizontal) != Utils.alignFromConstraints(item.getDefaultConstraints(), myHorizontal); }