scorpion-26 / gBar

Blazingly fast status bar written with GTK
MIT License
459 stars 17 forks source link

".left" element width out of control #78

Closed fdev31 closed 5 months ago

fdev31 commented 5 months ago

I wanted to remove the general background and have one per "part" (left, center, right).

.left {
    background-color: $bg;
    border-radius: 16px;
}

.center {
    background-color: $bg;
    border-radius: 16px;
}

.right {
    background-color: $bg;
    border-radius: 16px;
}

unfortunately the left "area" seem to take all the free space available.

Setting "width" or "max-width" leads to a segfault.

In the following screenshot, center & right parts are as expected, but I can't make the left side look similar...

image

Edit: seems related to the CenterTime option... so maybe a warning/error is preferable than a segfault :)

scorpion-26 commented 5 months ago

The behavior you see is an artifact of the way the center widget is centered. Anyways, I added an inner box, which doesn't have the padding, so the .left box should look like the others