After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726955 - Compute the width of the time labels at runtime
Compute the width of the time labels at runtime
Status: RESOLVED FIXED
Product: gnome-chess
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: gnome-chess-maint
gnome-chess-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-24 04:37 UTC by Michael Catanzaro
Modified: 2014-03-24 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Compute the width of the time labels at runtime (4.42 KB, patch)
2014-03-24 04:37 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2014-03-24 04:37:37 UTC
Set the time labels to be a little bit wider than the widest they might
ever be, so they never resize.

This assumes that each player will be limited to at most 999 minutes,
which currently is not the case, but will be soon.
Comment 1 Michael Catanzaro 2014-03-24 04:37:38 UTC
Created attachment 272728 [details] [review]
Compute the width of the time labels at runtime
Comment 2 Michael Catanzaro 2014-03-24 14:48:22 UTC
Attachment 272728 [details] pushed as 6d4e61c - Compute the width of the time labels at runtime