I am able to resize my Mac OS X virtual machine hard drive but there are no reflecting changes to my guest Mac Os partition.
One can still extend a virtual hard disk size, however guest Mac OS X (Mac OS X virtual machine) partition size will remain the same.
After the virtual disk resizing, the guest macOS will treat the disk as a larger one, so the overall disk capacity will be increased. Now you need to do the following:
1. Open Disk Utility in macOS VM (Finder -> Applications -> Utilities -> Disk Utility)
2. Select Macintosh HD and click Partition
3. When asked whether to add a Volume or partition device click Partition
4. Click Macintosh HD partition, enter new desired partition size and click Apply
Now the disk size is correct in the guest macOS