Design graphical user interface
I'm about to design a GUI for creating/editing a filter. A filter can have one of the following types:
- Text
- Object name
- Object type
- Object attribute
The following is a draft of a possible design:
The current value in combo box Filter type determines the layout of the window. If Text is current value the first window in the picture is shown and if Object name is current value the second window in the picture is shown and so on... Suppose Filter type = Text is default, i.e. the first window is opened when Add filter button is pressed in main window.
What is best practise in the above design, to resize the window and hide/show components as different filter types are displayed or to work with four different windows?
Is there a better way to design the GUI for creating/editing the four filter types?