bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSText small bug


From: Ludovic Marcotte
Subject: NSText small bug
Date: Tue, 4 Dec 2001 14:51:10 -0500 (EST)

Hi,

When changing the background color of a NSTextView object after adding it 
to a NSScrollView (like, in Affiche), the color isn't set for the clipview 
so it'll remain white.

I've included with this mail a little patch for NSText.m. It will verify 
in -setBackgroundColor if the enclosingScrollView isn't nil and if it 
isn't, it'll set the color of the scrollview to the background color of 
the textview.

Thanks,
                Ludovic

-- 
Live as if you were to die tomorrow.
Learn as if you were to live forever.
 - Gandhi

Attachment: NSText.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]