This pretty much says it all:
Look at all that redundant space between the label and the field. It looks so stupid. How to get rid of it? How to make it more compact?
Code:
public override void OnInspectorGUI()
{
var use = target as SingleItemUse;
GUILayout.Label("Item entry", EditorStyles.boldLabel);
GUIHelper.HorizontalBlock(() =>
{
use.entry.placement = EditorGUILayout.ObjectField("Placement", use.entry.placement, typeof(Transform), false) as Transform;
use.entry.item = EditorGUILayout.ObjectField("Item", use.entry.item, typeof(Item), false) as Item;
});
}
Thanks for any help.