* Set minimal size of the widget. * @param min_x Horizontal minimal size of the widget. * @param min_y Vertical minimal size of the widget. */
| 1043 | * @param min_y Vertical minimal size of the widget. |
| 1044 | */ |
| 1045 | void NWidgetResizeBase::SetMinimalSize(uint min_x, uint min_y) |
| 1046 | { |
| 1047 | this->uz_min_x = std::max(this->uz_min_x, min_x); |
| 1048 | this->uz_min_y = std::max(this->uz_min_y, min_y); |
| 1049 | } |
| 1050 | |
| 1051 | /** |
| 1052 | * Set minimal size of the widget in toolbar-icon-relative width. |
no outgoing calls
no test coverage detected