This question already has an answer here:
I am trying to install Windows 7 (Ubuntu installed first).
I try to resize my partition but everything is greyed out but unmount, info and manage flags.
I am also using the partition I am trying to resize.
And im not trying to dual boot