Ahh, right!
The way I solved it for now was to subclass Column with a
VariableFontSizeColumn and override
displayPaneFor: aRow cell: aCell in: aGrid selected: ignored
to set the textStyle.
Is there another way?
Cheers,
Doru
On Aug 24, 2007, at 7:12 PM, Samuel S. Shuster wrote:
> Doru,
>
>> I want to increase the font size in a Grid but I do not know how. I
>> tried
>>
>> grid textStyle: (TextAttributes styleNamed: #large)
>>
>> but it did not work. What am I doing wrong?
>
> Nothing. The textStyle on the Grid really doesn't apply. Each cell
> type uses the
> default of that pane, not the Grid.
>
> And So It Goes
> Sames
> ______________________________________________________________________
>
> Samuel S. Shuster [|]
> VisualWorks Engineering, GUI Project
> Smalltalk Enables Success -- What Are YOU Using?
>
--
www.iam.unibe.ch/~girba
www.iam.unibe.ch/~girba/blog/
"Every thing should have the right to be different."