You can select and move the line separating the attributes and operations to create more space for either compartment.

If you shrink the box vertically, the operations and attributes sections disappear and the class graphic shows only the class name. The attributes and operations reappear if you enlarge the drawing.
When you rename a class in the object model diagram editor, the class name is changed throughout the model.