SetMinMaxSizePixels sets the minimum and maximum outer size of the *WindowBase, including decorations. Use walk.Size{} to make the respective limit be ignored.
(min, max Size)
| 1502 | // |
| 1503 | // Use walk.Size{} to make the respective limit be ignored. |
| 1504 | func (wb *WindowBase) SetMinMaxSizePixels(min, max Size) error { |
| 1505 | dpi := wb.DPI() |
| 1506 | return wb.SetMinMaxSize(SizeTo96DPI(min, dpi), SizeTo96DPI(max, dpi)) |
| 1507 | } |
| 1508 | |
| 1509 | type fontInfoAndDPI struct { |
| 1510 | fontInfo |
nothing calls this directly
no test coverage detected