[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread
From:       Meni Livne <livne () kde ! org>
Date:       2004-10-22 12:18:00
Message-ID: 20041022121800.633A016C3E () office ! kde ! org
[Download RAW message or body]

CVS commit by livne: 

Have the cell editor extend itself to the left (instead of to the right) if
text in a cell is RTL.

CCBUG: 90127


  M +5 -1      kspread_editors.cc   1.61


--- koffice/kspread/kspread_editors.cc  #1.60:1.61
@@ -146,5 +146,9 @@ void KSpreadTextEditor::slotTextChanged(
       mw = width();
 
+    if (t.isRightToLeft())
+      setGeometry(x() - mw + width(), y(), mw, height());
+    else
     setGeometry(x(), y(), mw, height());
+
     m_length -= 2;
   }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic