Image on disabled button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Townsend

    Image on disabled button

    Is there a known problem with images on disabled buttons on Tk8.4.4 ?

    If I create a button widget using a bitmap as the image and make the button
    disabled, not all of the image becomes stippled. The 3 left hand columns of
    pixels and the bottom 3 rows of pixels are left unchanged. This is most
    obvious if you use a black square as the bitmap.

    If I run the same application using Tk8.3.4 this doesn't happen - the
    stipple is applied to the whole image.

    I am using Python2.3 + Tkinter to test this.

    RT


  • Richard Townsend

    #2
    Re: Image on disabled button

    >[color=blue]
    > I have now checked again on HP-UX and have found that you must also set:
    >
    > self.root.optio n_add('*disable dForeground', '')
    >
    > to stop the bug appearing...[/color]

    It also works on Windows 2000.



    Comment

    Working...