"margin" in lxpanel not working

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
Irrlicht
Posts: 2
Joined: Fri Jan 30, 2009 10:04 am

"margin" in lxpanel not working

Post by Irrlicht »

Hello everyone.

I wanted to use lxpanel doubled. First I tried to just double the height of the panel to get more space for the taskbar, as I am using this on the Openmoko Freerunner. I could not find a working solution so I wanted to create a second panel only containing the taskbar (and remove the taskbar from the first panel). The second panel looks like this:

Code: Select all

Global {
    edge=bottom
    allign=left
    margin=26
    widthtype=percent
    width=100
    height=26
    transparent=0
    tintcolor=#000000
    alpha=0
    setdocktype=1
    setpartialstrut=1
    usefontcolor=1
    fontcolor=#ffffff
    background=1
    backgroundfile=/usr/share/lxpanel/images/background.png
}

Plugin {
    type = space
    Config {
        Size=2
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        AcceptSkipPager=1
        ShowIconified=1
        ShowMapped=1
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
    }
}
I thought "margin" should tell the taskbar to start 26px from the bottom of the screen, but it starts directly on the bottom, but leaving 26px on the _left_. So I got one panel at full size and one panel overlaying the first one -26px on the left. How to fix this?

I'm using Debian 5...

Thanks for your help!

Daniel
Irrlicht
Posts: 2
Joined: Fri Jan 30, 2009 10:04 am

Re: "margin" in lxpanel not working

Post by Irrlicht »

Where should I post my question to get a reply?
Locked