Kaydet (Commit) 20c9d0f3 authored tarafından Khaled Hosny's avatar Khaled Hosny

Fix showing tooltips in RTL UI with GTK 3

Change-Id: I29c2c7988fb97e2472188a600a483e5f6ed12d80
üst a7df6b49
......@@ -2439,6 +2439,8 @@ gboolean GtkSalFrame::signalTooltipQuery(GtkWidget*, gint /*x*/, gint /*y*/,
aHelpArea.y = pThis->m_aHelpArea.Top();
aHelpArea.width = pThis->m_aHelpArea.GetWidth();
aHelpArea.height = pThis->m_aHelpArea.GetHeight();
if (AllSettings::GetLayoutRTL())
aHelpArea.x = pThis->maGeometry.nWidth-aHelpArea.width-1-aHelpArea.x;
gtk_tooltip_set_tip_area(tooltip, &aHelpArea);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment