[Gambas-user] Font array accessors
Tobias Boege
taboege at ...626...
Tue Mar 25 16:00:39 CET 2014
On Tue, 25 Mar 2014, Beno?t Minisini wrote:
> Le 25/03/2014 15:00, Tobias Boege a ?crit :
> > Hi,
> >
> > the Font class (gb.qt4) allows to create Fonts via its _get() method. The
> > _get() documentation lists a correct example, the main Font documentation
> > page lists a non-working example. The second one does not work because the
> > Font properties are separated by commas which are occasionally followed by
> > spaces.
> >
> > If you write Font["Arial, 12, Bold"], the bold attribute is not recognised,
> > the size value of 12, however, is (CInt(" 12") returns 12, too...). So,
> > should we clarify the documentation or Trim$() the individual components?
> >
> > Regards,
> > Tobi
> >
>
> It's possible to become more tolerant by accepting spaces, as it is
> backward-compatible.
>
> At the moment, the documentation should be fixed.
>
Done.
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list