Larger side paddings
This commit is contained in:
parent
ae7c16ad85
commit
628adcdcf9
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Reference in a new issue