Dave Pearson

Results 85 issues of Dave Pearson

Some work to extend the tests relating to the `query` method.

As per issue #778, this PR seeks to add support for mounting widgets at a specific location within the DOM. Until now `App.mount` and `Widget.mount` only ever added the new...

enhancement

Found while working on the background code for #778, it appears that if an application is using a default screen (so, from examples, the calculator app for example), it will...

bug

As per https://github.com/Textualize/textual/discussions/1044 -- while `DOMNode` IDs are intended to be used as unique identifiers in Textual, much like in the land of the web browser, the idea is they...

documentation
enhancement

Possibly not the worst bug ever found in Textual, but once seen you can't unsee it.

Taking https://textual.textualize.io/styles/ into account, if you land on that page and your browser window isn't very wide, or if you're in a mobile view, it can seem like the page...

documentation

Addresses the requirements in #778. In short, `App.mount`, `App.mount_all` and `Widget.mount` now accept either a `before` or `after` keyword argument, which can be an integer, a string selector or a...

See https://github.com/Textualize/textual/issues/1064 for example, where some confusion can creep in. Also make a point of documenting the `TEXTUAL` environment variable.

documentation

I've run into one situation where I wanted to be able to clear all of the classes on a `Widget` and set them to a very specific selection -- no...

enhancement

It's not uncommon to create "standalone" commands in Python that don't end in a .py and which: `#!/usr/bin/env python` or a variation on that theme. This commit makes it so...