Re: [PATCH] BUG 184905 Size of the panel changes when the plasma theme changes

2009-08-03 Thread 潘卫平(Peter Pan)
Aaron J. Seigo 写道: > On Sunday 02 August 2009, 潘卫平(Peter Pan) wrote: >> The reason is that the margins of panel's layout isn't equal to the >> margins of panel's background. >> (kdebase/workspace/plasma/containments/panel/panel.cpp line 678-684) > > yes, i think your patch is correct. nice one :)

Re: [PATCH] BUG 184905 Size of the panel changes when the plasma theme changes

2009-08-02 Thread Aaron J. Seigo
On Sunday 02 August 2009, 潘卫平(Peter Pan) wrote: > The reason is that the margins of panel's layout isn't equal to the > margins of panel's background. > (kdebase/workspace/plasma/containments/panel/panel.cpp line 678-684) yes, i think your patch is correct. nice one :) -- Aaron J. Seigo humru ot

[PATCH] BUG 184905 Size of the panel changes when the plasma theme changes

2009-08-02 Thread 潘卫平(Peter Pan)
Hi, all These days I've been working on BUG 184905. I found that the size of panel changes when it receives a thememChanged signal from Plasma::Theme::defaultTheme(). And this signal is sended when we change the plasma theme or enable/disable window effects. The reason is that the margins of pane