From df0210a508de3538e9d3de29cd2ee2188f3e6203 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 14 Sep 2021 18:47:45 +0200 Subject: [PATCH] Document caveats with StyleBoxFlat antialiasing and beveled corners (cherry picked from commit f7f8ae6372d7fb87903f349ffb65979fa621b277) --- doc/classes/StyleBoxFlat.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/StyleBoxFlat.xml b/doc/classes/StyleBoxFlat.xml index 8f9d96448ab..d7a3c31f9f3 100644 --- a/doc/classes/StyleBoxFlat.xml +++ b/doc/classes/StyleBoxFlat.xml @@ -120,6 +120,7 @@ Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners. + [b]Note:[/b] When using beveled corners with 45-degree angles ([member corner_detail] = 1), it is recommended to set [member anti_aliasing] to [code]false[/code] to ensure crisp visuals and avoid possible visual glitches. This changes the size of the faded ring. Higher values can be used to achieve a "blurry" effect.