SetWidthPixels sets the outer width of the *WindowBase, including decorations.
(value int)
| 1765 | |
| 1766 | // SetWidthPixels sets the outer width of the *WindowBase, including decorations. |
| 1767 | func (wb *WindowBase) SetWidthPixels(value int) error { |
| 1768 | bounds := wb.window.BoundsPixels() |
| 1769 | bounds.Width = value |
| 1770 | |
| 1771 | return wb.SetBoundsPixels(bounds) |
| 1772 | } |
| 1773 | |
| 1774 | // Height returns the outer height of the *WindowBase, including decorations. |
| 1775 | func (wb *WindowBase) Height() int { |
no test coverage detected