xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ auto_size() [2/2]

control& xtd::forms::button_base::auto_size ( bool  auto_size)
inlineoverridevirtualinherited

Sets a value that indicates whether the control resizes based on its contents.

Parameters
auto_sizetrue if enabled; otherwise, false.

Reimplemented from xtd::forms::control.