It seems if you use nk_window_set_size, it will not resize the background of the window, or the contents. Examples:  