Skip to content

feat: Enable dynamic label width#123

Open
mwobst wants to merge 1 commit intonetbox-community:masterfrom
mwobst:feat__enable_dynamic_label_width
Open

feat: Enable dynamic label width#123
mwobst wants to merge 1 commit intonetbox-community:masterfrom
mwobst:feat__enable_dynamic_label_width

Conversation

@mwobst
Copy link
Copy Markdown

@mwobst mwobst commented Sep 23, 2025

Hello,

we would like to use this plugin and also will do so, but one aspect is a bit unfortunate: The need for a fixed label width. Okay, technically, you can set "auto" to "label_width", but because the div container is by default "display:block", the label extends fully.

This very little PR simply adds a CSS line to make the container "inline-block". By setting "label_width" to "auto", the label will now adjust automatically. (Of course, you have to set a margin-right by using label_edge_* to avoid text next to the label border).

@davidh2k
Copy link
Copy Markdown

Can this PR get some traction? We'd also like to use dynamic width for a mobile brother 12/24mm height printer.

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.

2 participants