You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Command Preferences Page layout must be updated to set the height of, for example, 20 commands.
Actual Behavior
When open the Command Preferences Page, the dialog is resized to display all the commands.
Steps to Reproduce the Problem
Select the menu Window | Preferences....
Select the entry EasyShell | (2) Command.
The Preferences Dialog is resized to show all commands.
Environment
Plugin version: 2.3.0
Eclipse Version: 2021-12
Java Version: 11
Operating System Version: Windows 11
Resolution
This is only a matter of update the viewer layout in the CommandPage class. When creating the table viewer in function createTableViewer, set the gridData.heightHint as follow:
Expected Behavior
The Command Preferences Page layout must be updated to set the height of, for example, 20 commands.
Actual Behavior
When open the Command Preferences Page, the dialog is resized to display all the commands.
Steps to Reproduce the Problem
Select the menu
Window | Preferences...
.Select the entry
EasyShell | (2) Command
.The Preferences Dialog is resized to show all commands.
Environment
Resolution
This is only a matter of update the viewer layout in the
CommandPage
class. When creating the table viewer in functioncreateTableViewer
, set thegridData.heightHint
as follow:You can also simplify the creation of the layout with the following code:
This can be also apply to the
MenuPage
class.The text was updated successfully, but these errors were encountered: