'Builds the actual progress bar text'

def get_screen_text(self):

    diff = float((self.current_amount - self.minimum))
    done = ((diff / float(self.range)) * 100.0)
    done = int(round(done))
    all = (self.width - 2)
    hashes = ((done / 100.0) * all)
    hashes = int(round(hashes))
    hashes_text = ('#' * hashes)
    spaces_text = ('    ' * (all - hashes))
    screen_text = ('[%s%s]' % (hashes_text, spaces_text))
    percent_text = ('%s%%' % done)
    percent_text_len = len(percent_text)
    percent_position = ((len(screen_text) / 2) - percent_text_len)
    screen_text = ((screen_text[:percent_position] + percent_text) + screen_text[(percent_position + percent_text_len):])
    if self.title:
        screen_text = ('%s:    %s' % (self.title, screen_text))
    return screen_text
