SetHeightPixels sets the outer height of the *WindowBase, including decorations.
(value int)
| 1788 | |
| 1789 | // SetHeightPixels sets the outer height of the *WindowBase, including decorations. |
| 1790 | func (wb *WindowBase) SetHeightPixels(value int) error { |
| 1791 | bounds := wb.window.BoundsPixels() |
| 1792 | bounds.Height = value |
| 1793 | |
| 1794 | return wb.SetBoundsPixels(bounds) |
| 1795 | } |
| 1796 | |
| 1797 | func windowTrimToClientBounds(hwnd win.HWND, pt *win.POINT) { |
| 1798 | var r win.RECT |
no test coverage detected