Better looking print dialog in Unix


Subject: Better looking print dialog in Unix
From: Anders Melchiorsen (postmaster@and.nospam.kampsax.k-net.dk)
Date: Fri Jun 23 2000 - 17:39:25 CDT


Hi,

my first patch for AbiWord. I grew too tired of the print dialog being
too small for its widgets in my Linux setup.

grep'ing through the source I see lots of other set_usize calls which
I believe is in many cases a bad idea for proper dynamic layout. GTK+
is perfectly able to size windows nicely, even with my custom font
which is slightly larger than the default one. However, the print
dialog was the worst looking and was easy to fix.

I hope this is applied - unless I got something really wrong, of
course :-).

Kind regards,
Anders.

diff -u -r1.40 xap_UnixDlg_Print.cpp
--- src/af/xap/unix/xap_UnixDlg_Print.cpp 2000/05/25 18:52:58 1.40
+++ src/af/xap/unix/xap_UnixDlg_Print.cpp 2000/06/23 21:10:24
@@ -230,7 +230,6 @@
        
        gtk_window_set_title (GTK_WINDOW (window), pSS->getValue(XAP_STRING_ID_DLG_UP_PrintTitle));
        gtk_container_set_border_width (GTK_CONTAINER (window), 0);
- gtk_widget_set_usize (window, 370, 275);
 
        // Add a main vbox
        vbox1 = gtk_vbox_new (FALSE, 0);



This archive was generated by hypermail 2b25 : Fri Jun 23 2000 - 17:39:29 CDT