From 08f514ed8d7a44d28518850568ef8b8d73705fac Mon Sep 17 00:00:00 2001 From: formiano Date: Thu, 12 Dec 2024 17:19:08 +0100 Subject: [PATCH] if (local_style->is_set.use_vtiworkaround) --- lib/gui/elistboxcontent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 0871ca34..b635d01f 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -399,7 +399,7 @@ void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, { text_offset += local_style->m_text_padding.topLeft(); // HACK OPD hat hier scheinbar einen Fehler und addiert den Textoffset zweimal auf, also machen wir das hier auch so - if (local_style->is_set.use_opd_workaround) + if (local_style->is_set.use_vti_workaround) text_offset += local_style->m_text_padding.topLeft(); if (local_style->m_valign == eListboxStyle::alignTop)