OpalResizeWidget

Procedure OpalResizeWidget(window_ref:integer, widget_ref:integer, width:integer, height:integer)

Change the dimensions of the widget referenced. width and height specify the new size.

Sliders and drop-downs have a fixed height, so height is ignored. Other widgets can be resized freely; if the label or icon don't fit inside these dimensions, they will be cropped.


window_ref:integer = ref of the window that contains the widget
widget_ref:integer = ref of the widget
width:integer = new width of widget
height:integer = new height of widget