Re: PATCH: Fix for gtk_paint_shadow_gap.



"Craig M. Buchek" wrote:
> 
> I've been trying to make a version of Frame in which the label can be placed on any side.  I found a bug in the default implementations of
> gtk_paint_shadow_gap and gtk_paint_box_gap.  When the gap is on one of the sides, it still figures the position of the gap using the width
> of the box instead of the height.  A patch to fix the problem follows.

Umm, pardon my asking, but why would you want a frame which can have a
label on any side? Is there some benefit to sideways text or titles on
the bottom of pages that I'm missing here? :-)

IOW, I have to question the value of including an interface-only feature
which does nothing to improve interfaces, and provides app authors with
yet another way to deviate from all known standards.

    Jim Cape
    http://www.jcinteractive.com

    "Men occasionally stumble over the truth, but most of them
     pick themselves up and hurry off as if nothing had happened."
        -- Winston Churchill



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