Page 1 of 1

PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Sun Sep 20, 2015 12:50 am
by Inf0Byt3
Not sure if this is a problem with GTK itself / my current theme or PB, but the rendered height of the progress bar seems to remain fixed no matter what value is used:

Code: Select all

If OpenWindow(0, 0, 0, 320, 160, "ProgressBarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    TextGadget       (0,  10, 10, 250,  20, "ProgressBar Standard  (50/100)")
    ProgressBarGadget(1,  10, 30, 250,  70, 0, 100)
    SetGadgetState(1, 50)
    Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
Image

With the GTK2 subsystem it seems to work:

Image

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Fri Sep 25, 2015 10:15 am
by Fred
Seems to be theme dependant, as it does work here. Can anybody else confirm ?

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Fri Sep 25, 2015 10:20 am
by bbanelli
Fred wrote:Seems to be theme dependant, as it does work here. Can anybody else confirm ?
Works on Ubuntu 14.04 x64, GNOME classic.

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Fri Sep 25, 2015 3:25 pm
by Inf0Byt3
I'm using KDE here (it shouldn't matter I guess). I installed many GTK3 themes before posting the report and strangely they all had this problem. But I think you are right, there must be a problem with the themes since I installed the kde-config-gtk-style-preview and the progressbars are shown small for all the themes :shock:.

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Fri Sep 25, 2015 4:05 pm
by Fred
OK, moved in linux forum, if someone find a solution, don't hesitate to post :)

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Mon Dec 28, 2015 5:16 pm
by uwekel
On my system, the progress bar has 1 pixel height only :-(
Image

Here is how it should look, generated with Glade Interface Designer:
Image

Uwe

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

Posted: Tue Mar 01, 2016 9:49 am
by Fred
Fixed the 1px bar issue.