[webkit-dev] Changing minimum font size

Steve Palmer steve at opencommunity.co.uk
Sun Aug 21 15:55:15 PDT 2005


I asked this on the cocoa-dev alias but got no response. Hopefully  
this is a more appropriate list?

I'm trying to get my head around web preferences. Based on my reading  
of the API documentation, this should work to change the minimum font  
size used by a webview that already has text:

         WebPreferences * webPrefs = [myWebView preferences];
         [webPrefs setMinimumFontSize:12];
         [myWebView setPreferences:webPrefs];

However the existing webview text isn't changed. Any suggestions what  
I'm missing?

- Steve




More information about the webkit-dev mailing list