mirror of https://github.com/Desuuuu/klipper.git
menu: vsdcard - scroll long filenames (#694)
Signed-off-by: Janar Sööt <janar.soot@gmail.com>
This commit is contained in:
parent
95392595f6
commit
18b56c3cda
|
@ -780,7 +780,10 @@ class MenuVSDCard(MenuList):
|
||||||
self.append_item(MenuCommand(self._manager, {
|
self.append_item(MenuCommand(self._manager, {
|
||||||
'name': '%s' % str(fname),
|
'name': '%s' % str(fname),
|
||||||
'cursor': '+',
|
'cursor': '+',
|
||||||
'gcode': "\n".join(gcode)
|
'gcode': "\n".join(gcode),
|
||||||
|
'scroll': True,
|
||||||
|
# mind the cursor size in width
|
||||||
|
'width': (self._manager.cols-1)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
def populate_items(self):
|
def populate_items(self):
|
||||||
|
|
Loading…
Reference in New Issue