jeremypw / gnonograms

Nonograms puzzle game written in Vala.
GNU General Public License v3.0
12 stars 7 forks source link

Column label not always high enough #10

Closed freaktechnik closed 6 years ago

freaktechnik commented 6 years ago

The label content overflows its container, or at least the visible container.

image

jeremypw commented 6 years ago

Thanks for raising this. It is relatively rare to get 7 clues for a region length 15, which is maybe I did not spot it. Will be fixed in next release (probably a couple of weeks).

jeremypw commented 6 years ago

Should be fixed by 7e926be3ff9368866844802357e0dc827a7d24be. In order to avoid wasting space, the labels are sized according to the maximum likely clue length, not the maximum possible clue length and in order to avoid the window size altering for each generated game the font-size is reduced on a per label basis if the text is too long.