Vertical centering in lxpanel?

Please post all general support questions for LXDE here.
Locked
shaulreznik
Posts: 1
Joined: Sat Oct 22, 2011 4:03 pm

Vertical centering in lxpanel?

Post by shaulreznik »

I use Lubuntu 11.04. When I try to increase the height of lxpanel, all the items are aligned to the top (see the attached screenshot). Is it possible to center them vertically?
Attachments
1.png
1.png (7.21 KiB) Viewed 6417 times
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Vertical centering in lxpanel?

Post by Rex Bouwense »

That's a real good question. I was just playing around with mine and the only thing that I could do when I increased the size of the panel was increase the size of the icons. However, that is not what you want to do. Let me do some more research.
Rex
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Vertical centering in lxpanel?

Post by Rex Bouwense »

I have tried to duplicate your problem and have done some research and I cannot for some reason come up with the problem or a solution. I have checked launchpad and there doesn't seem to be a bug report filed. I did notice that you are using 11.04 which may be the culprit. I have changed my system to 11.10 when it was released this month and the panel doesn't so far have that peculiarity. So we will wait for someone else to attack this thing so we both can learn something.
Rex
amjjawad
Posts: 304
Joined: Mon Aug 29, 2011 1:51 am
Contact:

Re: Vertical centering in lxpanel?

Post by amjjawad »

Hi,

I will have a look at this and get back to you shortly :)
Feel Free to contact me: http://amjjawad.net
amjjawad
Posts: 304
Joined: Mon Aug 29, 2011 1:51 am
Contact:

Re: Vertical centering in lxpanel?

Post by amjjawad »

shaulreznik wrote:I use Lubuntu 11.04. When I try to increase the height of lxpanel, all the items are aligned to the top (see the attached screenshot). Is it possible to center them vertically?
Well, I have tried to find an option to align it to the center but it seems that the only way is to increase the icon size as well.

See these two screenshots:
Screenshot-1.png
(968.58 KiB) Not downloaded yet
Screenshot.png
(969.55 KiB) Not downloaded yet

I even searched deeper here: /usr/share/lxpanel/profile/default/panels
This is the content of the config file:

Code: Select all

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=bottom
    allign=left
    margin=0
    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 = menu
    Config {
        image=/usr/share/lxpanel/images/my-computer.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = launchbar
    Config {
        Button {
            id=pcmanfm.desktop
        }
        Button {
            id=lxde-x-www-browser.desktop
        }
    }
}

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

Plugin {
    type = wincmd
    Config {
        Button1=iconify
        Button2=shade
    }
}

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

Plugin {
    type = pager
}

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

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
    }
}

Plugin {
    type = cpu
}

Plugin {
    type = tray
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
    }
}

I couldn't find anything related to the issue of yours.

So, from what I can tell, it's not possible UNLESS someone else could prove otherwise :)
Feel Free to contact me: http://amjjawad.net
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Vertical centering in lxpanel?

Post by Rex Bouwense »

amjjawad, I might add that in 11.10 it is automatically centered.

Rex
Rex
amjjawad
Posts: 304
Joined: Mon Aug 29, 2011 1:51 am
Contact:

Re: Vertical centering in lxpanel?

Post by amjjawad »

Rex Bouwense wrote:amjjawad, I might add that in 11.10 it is automatically centered.

Rex
Not with me. Lubutnu 11.10 still doesn't show the icon in the center.

I know someone might disagree with me but I see no point to increase the hight of LXPanel without increasing the size of the icons as well.
This is what I think :)
Feel Free to contact me: http://amjjawad.net
soleros
Posts: 1
Joined: Sun Oct 28, 2012 7:42 pm

Re: Vertical centering in lxpanel?

Post by soleros »

amjjawad wrote:
Rex Bouwense wrote:amjjawad, I might add that in 11.10 it is automatically centered.

Rex
Not with me. Lubutnu 11.10 still doesn't show the icon in the center.

I know someone might disagree with me but I see no point to increase the hight of LXPanel without increasing the size of the icons as well.
This is what I think :)

For me this would be great feature because that way I can add padding to up of panel.
Now most of icons are stick to up of panel or have only 1px space and that doesn't look good.
Panel would look much better if there will be for example 2px - 3px padding from up of panel and 2px - 3px from bottom.

Running Lubuntu 12.04.
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Vertical centering in lxpanel?

Post by Rex Bouwense »

This is an old post and the versions talked about are old. I do not believe that the developers read these posts so your best bet is to go on Launchpad to report or make recommendations.
Rex
Locked