pattern measurement on frame button