summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-19 20:23:57 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-19 20:23:57 -0400
commit8177f1bb0c465af3a8d4a065fef5acff1bcdde69 (patch)
tree824115f1c694be6bbbb5aaae186d24e2f3f6d217 /examples
parentba42eb40199652224601b118b7411c59d4a14340 (diff)
downloadcmd2-git-8177f1bb0c465af3a8d4a065fef5acff1bcdde69.tar.gz
Added configurable padding to BorderedTable/AlternatingTable
Updated comments
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/table_creation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/table_creation.py b/examples/table_creation.py
index 605c20d9..85bfc3f0 100755
--- a/examples/table_creation.py
+++ b/examples/table_creation.py
@@ -24,7 +24,7 @@ bold_yellow = functools.partial(ansi.style, fg=ansi.fg.bright_yellow, bold=True)
blue = functools.partial(ansi.style, fg=ansi.fg.bright_blue)
green = functools.partial(ansi.style, fg=ansi.fg.green)
-# Table Columns
+# Table Columns (width does not account for any borders or padding which may be added)
columns: List[Column] = list()
columns.append(Column("Name", width=20))
columns.append(Column("Address", width=38))