Patch #850 2006-02-19 23:46
afb
fontsize workaround, about dialog (wxMac)- Download
- 850-fontsize_workar.patch (859 bytes)
Index: src/src/dlgabout.cpp
===================================================================
--- src/src/dlgabout.cpp (revision 2040)
+++ src/src/dlgabout.cpp (arbetskopia)
@@ -84,6 +84,18 @@
XRCCTRL(*this, "lblAuthor", wxStaticText)->SetLabel(_("The Code::Blocks Team"));
XRCCTRL(*this, "lblEmail", wxStaticText)->SetLabel(g_AppContactEmail);
XRCCTRL(*this, "lblWebsite", wxStaticText)->SetLabel(g_AppUrl);
+
+#ifdef __WXMAC__
+ // Courier 8 point is not readable on Mac OS X, increase font size:
+
+ wxFont font1 = XRCCTRL(*this, "txtThanksTo", wxTextCtrl)->GetFont();
+ font1.SetPointSize(10);
+ XRCCTRL(*this, "txtThanksTo", wxTextCtrl)->SetFont(font1);
+
+ wxFont font2 = XRCCTRL(*this, "txtLicense", wxTextCtrl)->GetFont();
+ font2.SetPointSize(10);
+ XRCCTRL(*this, "txtLicense", wxTextCtrl)->SetFont(font2);
+#endif
}
// class destructor
History
afb 2006-02-19 23:46
Not sure if this is a good workaround, but 8pt is unreadable...