chubbymaggie / synoptic

Automatically exported from code.google.com/p/synoptic
0 stars 0 forks source link

Correct model graphic dimensions #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
During the initial model load, the model is sized too wide and too long. During 
a window re-size event the model width is fixed, but the model length remains 
too large.

A fix would (1) fix the initial model width and length, and (2) fix the model 
width during resize events.

Original issue reported on code.google.com by bestchai on 17 Dec 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Taking ownership.

Original comment by kevin.a....@gmail.com on 3 Jan 2012 at 2:14

GoogleCodeExporter commented 9 years ago
Model width is determined by getModelGraphicHeight() and decreasing that fixes 
both the initial model width and resize width. Solution in revision 
37f0c8a55e2a, please review.

Original comment by kevin.a....@gmail.com on 10 Jan 2012 at 7:50

GoogleCodeExporter commented 9 years ago
Well, this is an easy fix, but won't work in general since the height constant 
will vary depending on what other elements are on the page. I guess it's okay 
for now; there are more pressing issues.

Merged into default with revision 2b469bf06ba7

Original comment by bestchai on 11 Jan 2012 at 1:51