does it fix the theme issue as well ?
No, it only affects the correct function in vertical direction. At the moment it is a hor. Progressbar with vert. sizes on gtk3 with #PB_ProgressBar_Vertical.
And I have to correct myself.
It seems that the display problem (only line heights or widths) is more likely caused by recent distributions than of themes,
since I couldn't see gtk3 display errors in all themes on Ubuntu-Versions up to 14.x.
But at the moment i have no idea what has changed to cause this.
Best Regards
PS:
I did a another few experiments with the ProgressBar size problem.
But it's somewhat difficult to describe in English so i try my best

.
In any Gtk version above 3.10 the representation of the ProgressBar has changed and behaves as follows:
- An invisible rectangle in the requested size is created.
- A horizontal ProgressBar appears at the bottom in "min-horizontal-bar-height" - height.
- A vertical ProgressBar appears at the right side of the rectangle in "min-vertical-bar-width" - width.
- The rest (top or left range) is empty
- If you manipulate the "min-horizontal-bar-height"- or "min-vertical-bar-width"-property, the ProgressBars are shown with this heights or width, but never in the allocated size as in ProgressBarGadget(,,,w,h)
This way the "min-horizontal-bar-height"- and "min-vertical-bar-width" can be manipulated to test this in gtk3 ...
Code: Select all
Procedure ProgressBarSetMinSizes(size)
Protected *provider= gtk_css_provider_new()
Protected *screen= gdk_display_get_default_screen_(gdk_display_get_default_())
Protected.s css
css= "GtkProgressBar {" + #LF$ +
"-GtkProgressBar-min-horizontal-bar-height: "+ Str(size) +"px;" + #LF$ +
"-GtkProgressBar-min-vertical-bar-width: "+ Str(size) +"px;" + #LF$ +
"}"
gtk_css_provider_load_from_data(*provider, css, -1, 0)
gtk_style_context_add_provider_for_screen(*screen, *provider, #GTK_STYLE_PROVIDER_PRIORITY_APPLICATION)
g_object_unref_(*provider)
EndProcedure
But I still have no idea where the actual problem could be

.
Charly