rebolrebol3rebol2

How to remove the default title bar on rebol?


How to remove the default title bar on rebol?

enter image description here


Solution

  • In , use the [no-title] (clears the title bar) or [no-border] (removes the title bar) option:

    view/options layout [button "Close" [unview/all]] [no-title no-border]
    

    So far as I can tell, the same holds for .

    view/options [button "Close" [unview/all]] [no-title no-border]
    

    I'm not certain if this holds for also, though it appears the window face has no-title and no-border flags.

    If you invoke view from a script, then the title is gathered from the Title attribute in the script's header, though you can override this with the /title refinement.

    view/title layout [button "Close" [unview/all]] "My Other Title"