Place the device in the middle of the row so that
they don't go too near to the donut on the XO. Quite an hack but at least it looks decent, we will need to solve this properly at some point.
This commit is contained in:
parent
116ebfecf6
commit
91b6990134
@ -78,7 +78,7 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem):
|
||||
|
||||
[box_width, box_height] = self._devices_box.get_allocation()
|
||||
self.set_position(self._devices_box, (width - icon_width) / 2,
|
||||
height - style.GRID_CELL_SIZE * 3)
|
||||
height - style.GRID_CELL_SIZE * 2.5)
|
||||
|
||||
_REDRAW_TIMEOUT = 5 * 60 * 1000 # 5 minutes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user