Replies: 1 comment 4 replies
-
You can set
I think that padding is the edge of the table, which you can disable with
You can put them in a table with no borders (use Table.grid()) or a Columns object if you want it to auto fit the available width.
How are you noticing that? Widgets can refresh independently, so you may see more events than every 2 seconds. Looks very cool BTW! |
Beta Was this translation helpful? Give feedback.
-
I started playing around with Textual yesterday and I though I make a little system monitor. I've gotten as far as
(compare bpytop). There are a few things I don't know how to do (a mixture of Texual/Rich questions):
self.render
is called more often than prescribed byself.set_interval(2.0, self.refresh)
. Is that normal? I work around this by usingself.set_interval(2.0, self.collect_data)
, whereself.collect_data
callsself.refresh()
at the end, but I'm not sure if this is intended.Beta Was this translation helpful? Give feedback.
All reactions