589,592c600,601 < x = int(self.width() - self._diameter - self._right_edge_offset) < y = int(0 + self._top_edge_offset) < # x = self.width() - self._diameter - self._right_edge_offset < # y = 0 + self._top_edge_offset --- > x = self.width() - self._diameter - self._right_edge_offset > y = 0 + self._top_edge_offset 616,632c625,629 < < ar1=int( topLeft.x() + (self.width() ) ) < ar2=int( ( (1-self._w_fraction) /2) ) < ar3=int( self._top_edge_offset ) < p.drawRoundedRect(ar1*ar2 + ar3, < int(topLeft.y()+self._right_edge_offset), < int(self.width()*self._w_fraction+2), < int(self.height()*self._h_fraction), < int(self._corner_radius), int(self._corner_radius) ) < < # p.drawRoundedRect( topLeft.x()+(self.width()*((1-self._w_fraction)/2)) + self._top_edge_offset , < # topLeft.y()+self._right_edge_offset, < # int(self.width()*self._w_fraction+2), < # int(self.height()*self._h_fraction), < # self.width()*self._w_fraction+2, < # self.height()*self._h_fraction, < # self._corner_radius, self._corner_radius) --- > p.drawRoundedRect(topLeft.x()+(self.width()*((1-self._w_fraction)/2)) + self._top_edge_offset, > topLeft.y()+self._right_edge_offset, > self.width()*self._w_fraction+2, > self.height()*self._h_fraction, > self._corner_radius, self._corner_radius)