Thread: Bug#55325: pgaccess: Preferences can't be set when using large fonts (fwd)
Bug#55325: pgaccess: Preferences can't be set when using large fonts (fwd)
From
"Oliver Elphick"
Date:
I have verified this report; the main problem is that the size of the preferences window should take into account the increased size of the fonts. At least it should be resizable. ------- Forwarded Message Date: Sun, 16 Jan 2000 01:35:43 -0800 From: "Shannon C.Dealy" <dealy@deatech.com> To: submit@bugs.debian.org Subject: Bug#55325: pgaccess: Preferences can't be set when using large fonts Package: pgaccess Version: 6.5.3-7 (pgaccess 0.98) Severity: normal When using pgaccess, if you have large font settings, selecting "preferences" from the "Database" menu, will give you a preferences window which you cannot exit from because the "save" and "exit" buttons are off the bottom of the window, there are no scroll bars, and the buttons cannot be tabbed to. The only way out appears to be killing the program, and of course the only way to correct the problem is to either delete or manually edit the ".pgaccessrc" file. Large font settings are necessary on high resolution monitors in order for the program display to be readable (in my case, 21" 1600x1200 res.). In the case of the preferences window, either making the window resizable or adding scroll bars would probably be sufficient, though the best solution would probably be to scale the window size based on the font size. This problem may extend to other windows displayed by the program, but I am not familiar enough with it as yet to make this determination. My ".pgaccessrc" file contains the following: pref,font_normal {-Adobe-Helvetica-Bold-R-Normal-*-*-160-*-*-*-*-*} pref,font_bold {-Adobe-Helvetica-Bold-R-Normal-*-*-180-*-*-*-*-*} pref,username {} pref,autoload {1} pref,typecolors {black redbrown #007e00 #004e00 blue orange yellow pink p urple cyan magenta lightblue lightgreen gray lightyellow} pref,font_fix {-*-Clean-Medium-R-Normal-*-*-170-*-*-*-*-*} pref,systemtables {0} pref,lastport {5432} pref,tvfont {clean} pref,lasthost{zaphod} pref,lastdb {addressbook} pref,password {} pref,rows {10000} pref,lastusername {dealy} pref,language {english} pref,font_italic {-Adobe-Helvetica-Bold-O-Normal-*-*-160-*-*-*-*-*} pref,typelist{text bool bytea float8 float4 int4 char name int8 int2 int2 8 regproc oid tid xid cid} - -- System Information Debian Release: potato Kernel Version: Linux critter 2.2.13 #3 Thu Dec 16 02:27:40 PST 1999 i586 unkno wn Versions of the packages pgaccess depends on: ii libpgtcl 6.5.3-7 Tcl/Tk library and front-end for PostgreSQL. ------- End of Forwarded Message --
Re: Bug#55325: pgaccess: Preferences can't be set when using large fonts (fwd)
From
Constantin Teodorescu
Date:
Oliver Elphick wrote: > > I have verified this report; the main problem is that the size of the > preferences > window should take into account the increased size of the fonts. At least it > should be resizable. I'm modifying now PgAccess in order to let Preferences window be resizable! If you don't want to get again over 300 Kb of archive, just do the following! Edit the file preferences.tcl in the lib directory under PgAccess installation directory and search the line: wm resizable $base 0 0 change it to wm resizable $base 1 1 and that's all! If you want, you can change the initial window geometry 4 lines above. Changing form geometry based on font size isn't so easy! Hope it helps Teo