[patch]RenderLineEdit align problem

Stephan Kulow coolo at kde.org
Sat Feb 7 12:48:48 GMT 2004


Am Samstag 07 Februar 2004 11:24 schrieb kzk:
>
> Can I commit this patch?
No.

> (I suppose style()->textAlign()  doesn't mean the lineedit's caret default
> posiiton.)
No, it means exactly that.

Something else is broken here: the <input> doesn't have a type= argument,
so it inherits the text-align attribute of the parent.

Try this one instead.

Greetings, Stephan

--- css/html4.css       13 Jan 2004 15:26:29 -0000      1.125
+++ css/html4.css       7 Feb 2004 12:48:17 -0000
@@ -381,6 +381,11 @@ INPUT { color: windowtext;
         font-family: sans-serif;
         font-size: medium;
         margin: 0__qem;
+        text-align: left;
+}
+
+INPUT[dir="rtl"] {
+        text-align: right;
 }

 INPUT[type="hidden"] {
@@ -394,11 +399,6 @@ INPUT[type="radio"], INPUT[type="checkbo

 INPUT[type="text"], INPUT[type="password"] {
        cursor: text;
-        text-align: left;
-}
-
-INPUT[dir="rtl"] {
-        text-align: right;
 }

 INPUT[type="submit"], INPUT[type="reset"], INPUT[type="button"] {

-- 
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini שלום Peoch
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Py'guapy 평화




More information about the kfm-devel mailing list