[Gtk-sharp-list] label

Christian Hoff christian_hoff at gmx.net
Fri Sep 5 08:17:51 EDT 2008


Of how to set the background color of a label?
label.ModifyBg (Gtk.StateType.Normal, new Gdk.Color (200, 0, 0));

Darwin Reynoso schrieb:
> can you please post an example.
>
> On Fri, Sep 5, 2008 at 2:03 AM, Christian Hoff <christian_hoff at gmx.net> wrote:
>   
>> label.SetAlignment works for me; I'm sure your label is just as big as the
>> text in it. Maybe you should modify the background color or let it display a
>> border to see how large it actually is.
>>
>> Darwin Reynoso schrieb:
>>     
>>> yes, but it doesn't work. I really don't know how to do it
>>>
>>> On Thu, Sep 4, 2008 at 12:04 PM, Chris Howie <cdhowie at gmail.com> wrote:
>>>
>>>       
>>>> On Thu, Sep 4, 2008 at 11:17 AM, Darwin Reynoso <monouser at gmail.com>
>>>> wrote:
>>>>
>>>>         
>>>>> Here is my code but it doesn't work
>>>>>
>>>>>           
>>>> Is the label packed with "fill" turned on?
>>>>
>>>> --
>>>> Chris Howie
>>>> http://www.chrishowie.com
>>>> http://en.wikipedia.org/wiki/User:Crazycomputers
>>>>
>>>>         


More information about the Gtk-sharp-list mailing list