Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Missing minimize, maximize buttons in Dialog on Linux
Missing minimize, maximize buttons in Dialog on Linux [message #655499] Mon, 21 February 2011 08:24 Go to next message
Agata Vackova is currently offline Agata Vackova
Messages: 18
Registered: July 2009
Junior Member
Hello,
we create descendants of org.eclipse.jface.dialogs.Dialog, but on Linux minimize and maximize buttons are missing (these options in context menu are disabled).
The code in constructor:
	public EditComponentDialog(Shell parentShell, ETLComponent component, EditComponentAction action) {
		super(parentShell);
		this.component = component;
        this.action = action;
		setShellStyle(getShellStyle() | SWT.MIN | SWT.MAX | SWT.RESIZE);
	}

This dialog opens another dialog window:
        public MultiLineTextEditorDialog(Shell parentShell, String dialogTitle, String initialValue, IInputValidator validator, boolean editable) {
            super(parentShell);
            setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX);
            .
            .
            .
        }


The buttons are visible and works properly on Win as well as on Mac. The problem is only on my Ubuntu.
Re: Missing minimize, maximize buttons in Dialog on Linux [message #660199 is a reply to message #655499] Thu, 17 March 2011 06:24 Go to previous message
Agata Vackova is currently offline Agata Vackova
Messages: 18
Registered: July 2009
Junior Member
It seems to be driven by system settings. The maximise button appeared after changing Appearance settings. I don't have the buttons in my developer Eclipse also.
Previous Topic:[databinding] JUnit tests, howto ?
Next Topic:ComboFieldEditor - setting default selection
Goto Forum:
  


Current Time: Wed Jul 30 09:19:03 EDT 2014

Powered by FUDForum. Page generated in 0.03240 seconds