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

List:       kde-panel-devel
Subject:    [Panel-devel] VBoxLayout position patch
From:       "Leo Franchi" <lfranchi () gmail ! com>
Date:       2007-08-08 17:37:26
Message-ID: c5793d500708081037l4e13d869sc17dc9d09b87465c () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


hey,

As I was discussing with a few of you on #plasma, for some reason VBoxLayout
chooses to ignore the position data of setGeometry. patch to fix is attached
(another one-liner).

leo

-- 
______________________________________________________
Leo Franchi                    angel666@myrealbox.com
4305 Charlemagne Ct         lfranchi@gmail.com
Austin                                 cell: (650) 704 3680
TX, USA                              home: (650) 329 0125

[Attachment #5 (text/html)]

hey,<br><br>As I was discussing with a few of you on #plasma, for some reason \
VBoxLayout chooses to ignore the position data of setGeometry. patch to fix is \
attached (another one-liner).<br><br>leo<br clear="all"><br>-- <br> \
______________________________________________________<br>Leo \
Franchi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a \
href="mailto:angel666@myrealbox.com">angel666@myrealbox.com</a><br>4305 Charlemagne \
Ct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a \
href="mailto:lfranchi@gmail.com"> lfranchi@gmail.com</a> \
<br>Austin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
cell: (650) 704 3680<br>TX, \
USA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home: \
(650) 329 0125 


["plasma.vboxlayout.patch" (application/octet-stream)]

Index: vboxlayout.cpp
===================================================================
--- vboxlayout.cpp	(revision 698002)
+++ vboxlayout.cpp	(working copy)
@@ -91,8 +91,7 @@
         sizes.insert(indexOf(l),QSizeF(available.width(), expandHeight));
     }
 
-    //QPointF start = geometry.topLeft();
-    QPointF start = QPointF(0.0f, 0.0f);
+    QPointF start = geometry.topLeft();
     start += QPointF(margin(), spacing());
 
     for (int i = 0; i < sizes.size(); i++) {


_______________________________________________
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