Styling resource adjustment as previous styling affects entire window