GNOME Bugzilla – Bug 687345
sidebar too big on 'fi_FI' locale
Last modified: 2016-03-31 13:59:40 UTC
Created attachment 227805 [details] Screenshot of the issue The attached screenshot shows the problem. Launched boxes as: LANG=fi_FI.utf8 gnome-boxes PATH_TO_WIN7_ISO
I believe this is caused by the minigraphs CPU: ____ I/O: ____ Net: _____ becomes Suoritin: ____ I/O: _____ Verkoo: ____ Which has two problems: 1) The labels enforce the same width 2) Some of the labels are much longer
Oh. Interestng. Actually its even worse, as the code forces the graphs themselves to be the same size as the labels.
Created attachment 237153 [details] [review] Fix sidebar width in non-english Some languages use wider strings for some of the minigraph labels in the sidebar, so we can't force these labels to be the same size, nor can we rely on the label width to pick the minigraph width.
Review of attachment 237153 [details] [review]: Helps with the French translation as well ::: src/mini-graph.vala @@ +23,3 @@ this.points = points; this.npoints = npoints; + this.set_size_request (32, -1); Why the 32 ?
Review of attachment 237153 [details] [review]: ::: src/mini-graph.vala @@ +23,3 @@ this.points = points; this.npoints = npoints; + this.set_size_request (32, -1); It makes them about the size as in the mockups.
Review of attachment 237153 [details] [review]: ACK
pushed