Skip to content

Support vertical and no-ticks for new range parameters#849

Merged
lindsay-stevens merged 2 commits into
XLSForm:masterfrom
lognaturel:no-ticks-vertical
Jun 23, 2026
Merged

Support vertical and no-ticks for new range parameters#849
lindsay-stevens merged 2 commits into
XLSForm:masterfrom
lognaturel:no-ticks-vertical

Conversation

@lognaturel

@lognaturel lognaturel commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Closes #846

Why is this the best possible solution? Were any other approaches considered?

I considered splitting the appearance string into tokens which would be more correct but I think string membership is easier to read and is fine for a short list of well-known tokens.

What are the regression risks?

Small fix so should be minimal. Worst case is probably that the new range parameters are allowed to pair with appearances they're not supposed to pair with.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No

Before submitting this PR, please make sure you have:

  • included test cases for core behavior and edge cases in tests
  • run python -m unittest and verified all tests pass
  • run ruff format pyxform tests and ruff check pyxform tests to lint code
  • verified that any code or assets from external sources are properly credited in comments

@lognaturel lognaturel changed the title Support vertical and no-ticks for range Support vertical and no-ticks for new range parameters Jun 23, 2026
- also delete old/redundant docstring and move no_ticks_appearance
  closer to where it used in the tick_labelset branch.
@lindsay-stevens

Copy link
Copy Markdown
Contributor

Looks good! Just some minor tidying. Added #850 for the idea on improving appearances handling.

@lindsay-stevens lindsay-stevens merged commit 25cb119 into XLSForm:master Jun 23, 2026
14 checks passed
@lognaturel lognaturel deleted the no-ticks-vertical branch June 23, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New range parameters should be available for vertical no-ticks appearance

2 participants