Added spacing text and aligned text better
This commit is contained in:
@@ -93,6 +93,7 @@ class Panel:
|
||||
self.text3 = None
|
||||
self.text4 = None
|
||||
self.dims = [self.gaps[i]*self.spacing + self.grid[i]*board.dims[i] + frame.extra_d[i] for i in range(0,2)]
|
||||
self.spacing = [self.spacing + board.dims[i] for i in range(0,2)]
|
||||
|
||||
arrow_off = [frame.spacing + frame.width, frame.width]
|
||||
text_off = [arrow_off[0] + 2, frame.width/2]
|
||||
@@ -112,7 +113,8 @@ class Panel:
|
||||
|
||||
spacer = " "
|
||||
txt =\
|
||||
"PNL (x,y) : (" + float_to_str_mm(self.dims[0],4) + ", " + float_to_str_mm(self.dims[1],4) + ")\n" +\
|
||||
"PNL (x,y): (" + float_to_str_mm(self.dims[0],4) + ", " + float_to_str_mm(self.dims[1],4) + ")\n" +\
|
||||
"SPA (x,y): (" + float_to_str_mm(self.spacing[0],2) + ", " + float_to_str_mm(self.spacing[1],2) +")\n" +\
|
||||
"BRD (x,y),r: (" + float_to_str_mm(board.dims[0],4) + ", " + float_to_str_mm(board.dims[1],4) + "), " +\
|
||||
float_to_deg(board.rot, 3) + "\n" +\
|
||||
"FIDS (x,y) : " + board.fids
|
||||
|
||||
Reference in New Issue
Block a user