Commits

Ikey Doherty  committed b51fba1

Cleaner looking PrettyBox

  • Participants
  • Parent commits 54e1ffc

Comments (0)

Files changed (1)

File src/prettybox.vala

 
 public class PrettyBox : Gtk.VBox {
 
-   public const int SHADOW_R = 6; // Shadow radius
-   public const double SHADOW_A = 0.52; // Shadow alpha
+   public const int SHADOW_R = 5; // Shadow radius
+   public const double SHADOW_A = 0.42; // Shadow alpha
 
 
    /**
 	ctx.stroke_preserve();
 	var offset = 0; // Changing this adds a fake glass effect
 	roundedrec (ctx, rect.x+offset, rect.y+offset, rect.width-offset, rect.height-offset, 6);
-	ctx.set_source_rgba(color.red, color.green, color.blue, 0.35);
+	ctx.set_source_rgba(color.red, color.green, color.blue, 0.29);
 	ctx.fill ();
    }