Skip to main content


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 13:24 Go to next message
Agata Vackova is currently offline Agata VackovaFriend
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 10:24 Go to previous messageGo to next message
Agata Vackova is currently offline Agata VackovaFriend
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.
Re: Missing minimize, maximize buttons in Dialog on Linux [message #1780140 is a reply to message #660199] Thu, 18 January 2018 04:10 Go to previous message
Shivendra Prakash Shukla is currently offline Shivendra Prakash ShuklaFriend
Messages: 4
Registered: January 2018
Junior Member
Hi,

Are you got some solutions? If you have Please share with me also.
Previous Topic:Jface accelerator key not working on macOS when focus is on StyledText widget
Next Topic:DataBinding with Image on Label: no Change Event?
Goto Forum:
  


Current Time: Mon May 21 11:19:13 GMT 2018

Powered by FUDForum. Page generated in 0.01696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top