Fix editor theme margins and TextEdit normal/read_only styles draw.

This commit is contained in:
Mounir Tohami 2025-09-24 20:42:22 +03:00
parent 1ce3101fbc
commit c07966583f
4 changed files with 86 additions and 107 deletions

View file

@ -661,6 +661,9 @@ private:
// FIXME: Helper method to draw unfilled rects, should be moved to RenderingServer.
void _draw_rect_unfilled(RID p_canvas_item, const Rect2 &p_rect, const Color &p_color, real_t p_width = -1.0, bool p_antialiased = false) const;
/* Theme. */
Ref<StyleBox> _get_current_stylebox() const;
/*** Super internal Core API. Everything builds on it. ***/
bool text_changed_dirty = false;
void _text_changed();