From 2ea4f8bc78f2f5b119d9054b0111edae3337f628 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sat, 8 Apr 2023 09:50:17 -0300 Subject: [PATCH] Fix bottom of `LineEdit`s in the editor being rounded --- editor/editor_themes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index f1688a83a1..c07e9c6707 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1415,9 +1415,9 @@ Ref create_editor_theme(const Ref p_theme) { // so this compensates for that. style_line_edit->set_content_margin(SIDE_TOP, style_line_edit->get_content_margin(SIDE_TOP) - 1 * EDSCALE); - // Don't round the bottom corner to make the line look sharper. - style_tab_selected->set_corner_radius(CORNER_BOTTOM_LEFT, 0); - style_tab_selected->set_corner_radius(CORNER_BOTTOM_RIGHT, 0); + // Don't round the bottom corners to make the line look sharper. + style_line_edit->set_corner_radius(CORNER_BOTTOM_LEFT, 0); + style_line_edit->set_corner_radius(CORNER_BOTTOM_RIGHT, 0); if (draw_extra_borders) { style_line_edit->set_border_width_all(Math::round(EDSCALE));