Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adjusting the width of buttons #736

m-petrosyan started this conversation in General
Discussion options

I need one big button and one small one. How can this be done? For some reason it doesn't work.

$buttons = [
 Button::make('Some text')->action('action')->width(0.66),
 Button::make('Some tex')->action('action')->width(0.33),
];
You must be logged in to vote

Replies: 1 comment

Comment options

Hi @m-petrosyan , the width of the buttons does not affect their display, but affects the buttons quantity in a keyboard row.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #735 on October 08, 2025 14:52.

AltStyle によって変換されたページ (->オリジナル) /