widget - Eclipse SWT how to disable "fullscreen" on Shell on MacOS 10.10 Yosemite -
there lot of answered questions how disable resize (which did), new feature apple added, expand dialog (little green dot arrows pointing up-right , down-left). button enabled, despite various options tried,
swt.dialog_trim, swt.close | swt.title swt.close ... what correct style have apply shell constructor, in order "expand" (or whatever action called) on macos 10.10 disabled?
edit: link helped me, used common code windows , mac, , note, "field" , "method" objects needs imported java.lang.reflect package.
for pop-up dialog
swt.dialog_trim | swt.application_modal (the default non-resizable dialog) disables green dot.
for main application shell not sure can control flags, although may able use mac specific code mentioned in this question.
Comments
Post a Comment