Re: [evolution-patches] A patch for calendar based on trunk



On Thu, 2004-03-04 at 00:32, Kidd Wang wrote:

> >>Before I sent you the patch yesterday, I did have tried your second 
> >>option to call
> >>some pango functions, such as pango_layout_get_pixel_size, to calculate 
> >>the accurate
> >>size of the box, but unfortunely it seems that these functions can only 
> >>give me
> >>an approximate value which is almost always much less than the text appears.
> >>Enclosed is a patch conforming to your first option and snapshots are 
> >>also given below.
> >>Does it look OK?
> >>    
> >>
> >
> >this will make the combo get the same size on every locale, so there
> >might cases, in some resolutions and locales where it is smaller than
> >the text. Do we want that? If we do, the patch looks ok.

Yes, the sizing is a bit annoying, we could set the fill option to FALSE
when packing the widgets, but this might mean the size jumps around from
event to event.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.




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