I have tried to run my GTK 2 application on a high DPI monitor and this leads 
to some layout issues because values that are passed to 
gtk_widget_set_size_request() are in pixels. 

I can solve these problems by reading the "Xft.dpi" Xresource and multiplying 
all my pixel values by it. Still, I'm wondering whether GTK 2 has an inhouse 
solution for this particular problem because my solution seems rather hackish. 
Any ideas?

Best regards,
 Andreas Falkenhahn                          mailto:andr...@falkenhahn.com

gtk-list mailing list

Reply via email to