You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the MRE below, when I have the border: solid green 0% line:
But with that line removed:
fromtextual.appimportApp, ComposeResultfromtextual.containersimportContainerfromtextual.widgetsimportTabbedContent, TabPane, RichLogclassMinimalApp(App):
"""A minimal Textual app demonstrating the RichLog border issue."""CSS=""" TabbedContent { height: 100%; } #title-container { align: center middle; } #title-rich-log { overflow-y: auto; background: black 0%; width: auto; height: auto; /* When removing the border, the whole thing is gone? */ border: solid green 0%; } """defcompose(self) ->ComposeResult:
"""Create child widgets for the app."""withTabbedContent():
withTabPane("Title Slide", id="title-slide-tab"):
yieldContainer(RichLog(id="title-rich-log"), id="title-container")
defon_mount(self) ->None:
"""Add some text to the RichLogs."""title_rich_log=self.query_one("#title-rich-log", RichLog)
title_rich_log.write("This is the Title Slide RichLog")
if__name__=="__main__":
app=MinimalApp()
app.run()
Using textual==1.0.0
The text was updated successfully, but these errors were encountered:
As discussed on Discord.
In the MRE below, when I have the
But with that line removed:border: solid green 0%
line:Using
textual==1.0.0
The text was updated successfully, but these errors were encountered: