We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
since 0.86.2 offset has no effect on widgets within a grid.
here's a grid from examples, modified to add a widget id and an offset to that id.
from textual.app import App, ComposeResult from textual.widgets import Static class GridLayoutExample(App): CSS_PATH = "grid_layout1.tcss" def compose(self) -> ComposeResult: yield Static("One", classes="box") yield Static("Two", classes="box") yield Static("Three", classes="box") yield Static("Four", classes="box") yield Static("Five", classes="box") yield Static("Six", classes="box", id="six") if __name__ == "__main__": app = GridLayoutExample() app.run()
Screen { layout: grid; grid-size: 3 2; } .box { height: 100%; border: solid green; } #six { offset: 0 10; }
0.86.1:
0.86.2:
The text was updated successfully, but these errors were encountered:
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Try v0.87.1
Successfully merging a pull request may close this issue.
since 0.86.2 offset has no effect on widgets within a grid.
here's a grid from examples, modified to add a widget id and an offset to that id.
0.86.1:
0.86.2:
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: