[Freeciv-Dev] (PR#7271) Minimap too small
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7271 >
> [jdorje - Mon Jan 19 21:56:55 2004]:
>
> Christian Knoke wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=7271 >
> >
> > On Mon, Jan 19, 2004 at 11:48:35AM -0800, Jason Short wrote:
> >
> >><URL: http://rt.freeciv.org/Ticket/Display.html?id=7271 >
> >>
> >>Christian Knoke wrote:
> >>
> >>><URL: http://rt.freeciv.org/Ticket/Display.html?id=7271 >
> >>>
> >>>The german text is wider. So the space on the left bar isn't used
> up for the
> >>>minimap. See screenshot.
> >>
> >>But is this a bug? If the size is increased it will be larger than
> the
> >>left panel, encroaching on the mapview.
> >
> >
> > Hm? It could be 20 percent larger and still there is a bit empty
> space
> > between both, in this case.
>
> It can't be 20 percent larger. Most likely the overview tiles are 2
> pixels wide. They could be made 3 pixels wide, but then it would be
> 50%
> larger (too big).
>
> However, the pixel size is determined by
> 120 / map.xsize
> where the 120 is just an approximation of the panel width. It should
> really use the actual panel width to find this value.
To do it, you would need to hook into the expose and resize handlers of
the overview drawing area. BTW, the GdkPixbuf API has a scaling function
we can use.
|
|