Archived
1
0
Fork 0

Larger side paddings

This commit is contained in:
Braiden Vasco 2017-07-22 16:05:22 +00:00
parent ae7c16ad85
commit 628adcdcf9

View file

@ -17,14 +17,14 @@ module Widgets
def draw_item(index, name)
Style.default.menu_item do
setpos 2, 4 * index + 0
Curses.addstr ' ' * (width - 4)
setpos 3, 4 * index + 0
Curses.addstr ' ' * (width - 6)
setpos 2, 4 * index + 1
Curses.addstr " #{name}".ljust width - 4
setpos 3, 4 * index + 1
Curses.addstr " #{name}".ljust width - 6
setpos 2, 4 * index + 2
Curses.addstr ' ' * (width - 4)
setpos 3, 4 * index + 2
Curses.addstr ' ' * (width - 6)
end
end
end