Skip to content

feat(dialog): add btn_equal_width option for button width control#91

Open
VimWei wants to merge 1 commit into
skywind3000:masterfrom
VimWei:master
Open

feat(dialog): add btn_equal_width option for button width control#91
VimWei wants to merge 1 commit into
skywind3000:masterfrom
VimWei:master

Conversation

@VimWei

@VimWei VimWei commented Jun 21, 2026

Copy link
Copy Markdown
  • Added documentation for the new btn_equal_width option in DIALOG.md.
  • Implemented conditional logic in button line building to use equal or auto width based on the option.
  • Defaulted to equal width to preserve backward compatibility.

- Added documentation for the new btn_equal_width option in DIALOG.md.
- Implemented conditional logic in button line building to use equal or auto width based on the option.
- Defaulted to equal width to preserve backward compatibility.
@skywind3000

Copy link
Copy Markdown
Owner

默认改为零吧,不要影响已有配置。

@VimWei

VimWei commented Jun 27, 2026

Copy link
Copy Markdown
Author

1是代表等宽,是之前已有的配置。
0是代表按字符长度调整,是新增的。

因此,默认的要设为1,不影响之前的配置。

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