Vista Style Builder

   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: careful with sizing margins on resources that will be shrunk  (Read 7155 times)
geoken
Beginner
*
Posts: 36


View Profile
« on: November 09, 2008, 05:42:32 am »

Watch out for shrinkable resources (ie. the progress bars for the Hard Drive tiles) and there small margins. The default Aero style left only 1 pixel after the sizing margins (resource was 125px wide, sizing margins were 62,62). This is fine when the resources is being stretched, but when the resource is being shrunk it will cause unwanted anomalies.

For example, I made a bar with a 1 pix outline to replace that resource. When Vista shrank the resource it's algorithm cropped out the 1px black line. Pulling the sizing margins back to 15,15 gave Vista enough room to shrink the resource without touching the outline.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!