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

List:       kde-panel-devel
Subject:    [Panel-devel] [Patch] LineEdit::setGeometry
From:       "joel vennin" <joel.vennin () gmail ! com>
Date:       2007-08-04 6:27:10
Message-ID: 88a64070708032327k38a1a6a2m35c36774a1e41679 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, this is a really small patch concerning the setGeometry for the
LineEdit. In fact, the setPos was missing. So, when I use a layout
(VBoxLayout) the LineEdit was correctly aligned.

Jol

[Attachment #5 (text/html)]

Hi, this is a really small patch concerning the setGeometry for the LineEdit. In \
fact, the setPos was missing. So, when I use a layout (VBoxLayout) the LineEdit was \
correctly aligned.<br><br>Jol<br><br><br>


["lineedit.setGeometry.patch" (text/x-patch)]

Index: workspace/libs/plasma/widgets/lineedit.cpp
===================================================================
--- workspace/libs/plasma/widgets/lineedit.cpp	(révision 696191)
+++ workspace/libs/plasma/widgets/lineedit.cpp	(copie de travail)
@@ -176,6 +176,7 @@
 void LineEdit::setGeometry(const QRectF& geometry)
 {
     prepareGeometryChange();
+    setPos(geometry.topLeft());
     setTextWidth(geometry.width());
     update();
 }


_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


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

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