Property

AdwAlertDialog:prefer-wide-layout

since: 1.6

Declaration

property prefer-wide-layout: gboolean [ read, write ]

Description [src]

Whether to prefer horizontal button layout.

AdwAlertDialog can present buttons horizontally or vertically depending on available space, how many buttons there are and how wide they are.

By default it will prefer to stack buttons vertically at medium sizes.

Set to TRUE to prefer horizontal layout in these cases instead. This will make the dialog slightly wider as well.

Vertical layout may still be used if the dialog would get too wide otherwise.

Does nothing with just one button, or when the buttons are already horizontal.

Type:gboolean

Available since: 1.6

Flags

Readableyes
Writableyes
Constructno
Construct onlyno