Optimize sample view style.