Gradient Quick View Fix

This is a fix for issue #3712 that converts pixels to % for gradients so that something is rendered that looks reasonably similar to what the actual gradient will look like in a browser.