Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] width of vertical scrollbar attached to table widget in SWT/GTK2

Hi

I need to change the width of vertical scrollbars attached to table widgets in SWT,
but only necessarily so for the GTK2 backend. The code to effect this change does not
need to be multiplatform. 

In this case, the fact that the problem will have been solved, supersedes all
concerns and takes precedence on how exactly it has been solved or if the solution is
design-wise appropriate. Ugly workarounds are therefore ok.

According to article 
http://www.gtk.org/~otaylor/gtk/2.0/theme-engines.html, themes cannot change widget
geometry. Otherwise I'd solve it with theming. There seems to be a workaround,
however, that consists in "... replacing the virtual function pointers to such
functions as gtk_vscrollbar_size_allocate()  with pointers to their own versions."

Any suggestions?

Greetings
Erik Poupaert

-- 
http://www.freestyler-toolkit.org absolutely unique


Back to the top