Hello List,


I am trying to build a power plugin for lxqt-panel for showing battery and AC information, but met some problems:

The panel height would increase while loading my plugin. After removing my plugin, lxqt-panel's height return to original size.

I found this abnormal behavior is caused by QLayout which my plugin is using. After removing QLayout in my code, everything works smoothly, no size change on lxqt-panel. Some other plugins have the same problem, such as plugin-colorpicker and plugin-dom. They all use QLayout.

Not sure if this was a known issue? My systems are Ubuntu 12.04 x86 and Archlinux x64.
I am new to QT and unfamiliar with QT layout management. Could anyone shed some light on this?


Wayne