Use minWidth and maxWidth instead of JGMenuMaxWidth.