Le 12/10/2010 10:16, Dave Page a écrit : > On Mon, Oct 11, 2010 at 10:37 PM, Guillaume Lelarge > <guilla...@lelarge.info> wrote: >> Hi, >> >> Le 11/10/2010 20:54, Josh Berkus a écrit : >>> [...] >>> I'd like to use pgadmin3 for more demos. But I find I can't because the >>> font size of the results grid is fixed as being fairly small, and >>> there's no way to make it larger. >>> >> >> There is a way. Go in the Options window, select the Preferences tab and >> change the Font. It will make, among other components the result grid >> bigger. > > Thats what I thought, but I tested it on Mac and found it didn't work. > wxMac bug? >
I think it is more a wxGTK/wxWin bug which changes the font of the cell when you use the function to change the font of the labels. Can someone on Mac tries this patch? I cannot on mine because I'm actually not able to built a good executable (good meaning which-doesn't-crash). -- Guillaume http://www.postgresql.fr http://dalibo.com
diff --git a/pgadmin/ctl/ctlSQLGrid.cpp b/pgadmin/ctl/ctlSQLGrid.cpp index 49faf08..c5e7160 100644 --- a/pgadmin/ctl/ctlSQLGrid.cpp +++ b/pgadmin/ctl/ctlSQLGrid.cpp @@ -37,6 +37,7 @@ ctlSQLGrid::ctlSQLGrid(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons wxFont fntLabel(settings->GetSystemFont()); fntLabel.SetWeight(wxBOLD); SetLabelFont(fntLabel); + SetDefaultCellFont(fntLabel); SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_CENTER); SetRowLabelSize(50); SetColLabelSize(fntLabel.GetPointSize() *4);
-- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support