Commits

Rodrigo Bistolfi  committed d3ac808

Removed some extra new lines in urwid ui

  • Participants
  • Parent commits dfd0ea4

Comments (0)

Files changed (1)

File vinstall/ui/urwid.py

         """Return a Text instance for the section title.
 
         """
-        text = "\n" + self.title + "\n"
+        text = self.title
         return urwid.Text(('title', text), align='left')
 
     def get_intro(self):
         """Return a Text instance for the introductory paragraph.
 
         """
-        text = "\n" + self.intro + "\n"
+        text = self.intro
         return urwid.Text(('intro', text))
 
     def get_contents(self):
 
         """
         pile = urwid.SimpleListWalker([
+            urwid.Divider(),
             self.get_title(),
+            urwid.Divider(),
             self.get_intro(),
             urwid.Divider(),
+            urwid.Divider(),
             self.get_contents(),
             urwid.Divider(),
             urwid.Divider(),