2022-02-08 10:19:32 +00:00
# UI components
the user interface consists of several components. this paper describes some of them.
## windows
2023-06-04 05:53:15 +00:00
![window ](window.png )
2022-02-08 10:19:32 +00:00
windows may be moved, collapsed, closed or even docked around the workspace.
to move a window, press and hold the mouse button while on title bar or any empty space on it.
then drag your mouse, and release it to stop moving.
2023-06-04 05:53:15 +00:00
to resize a window, drag the bottom right corner (marked by a triangular tab) or the borders.
2022-02-08 10:19:32 +00:00
to collapse a window, click on the triangle in the title bar.
clicking again expands it.
to close a window, click on the `X` at the top right corner.
### arrangement and docking
windows may be docked, which comes in handy.
to dock a window, drag it from its title bar to another location in the workspace or to the location of another window.
2023-06-04 05:53:15 +00:00
while dragging, an overlay with some options will appear, allowing you to select where and how to dock that window.
2022-02-08 10:19:32 +00:00
the options are:
2023-06-04 05:53:15 +00:00
![docking options ](docking.png )
2022-02-08 10:19:32 +00:00
drag your mouse cursor to any of the options to dock the window.
2023-06-04 05:53:15 +00:00
if you drag to the sides (marked with blue text), the window will cover that side of the workspace.
if you drag it to a window or empty space (marked with yellow text), five docking positions will appear.
if you drag the window to the center of another window, it will appear as another tab.
if you drag the window to the center of empty space, the window will cover aforementioned empty space.
2022-02-08 10:19:32 +00:00
otherwise the window will be split in two, with the first half covered by the window you docked and the second half covered by the other window.
2023-06-04 05:53:15 +00:00
![tab1 ](tab1.png )
2022-02-08 10:19:32 +00:00
when a window is docked, its title bar turns into a tab bar, and the function provided by the "collapse" triangle at the top left changes.
2023-06-04 05:53:15 +00:00
![tab2 ](tab2.png )
if this triangle is clicked, a menu will appear with a list of tabs, or a single option if there's only one tab: "Hide tab bar".
2022-02-08 10:19:32 +00:00
selecting this option will hide the tab bar of that window.
2023-06-04 05:53:15 +00:00
![tab3 ](tab3.png )
2022-02-08 10:19:32 +00:00
to bring it back, click on the top left corner.
to undock a window, drag its tab away from where it is docked. then it will be floating again.
## text fields
text fields are able to hold... text.
click on a text field to start editing, and click away to stop editing.
the following keyboard shortcuts work while on a text field:
- `Ctrl-X` : cut
- `Ctrl-C` : copy
- `Ctrl-V` : paste
- `Ctrl-A` : select all
(replace Ctrl with Command on macOS)
## number input fields
these work similar to text fields, but you may only input numbers.
they also usually have two buttons which allow you to increase/decrease the amount when clicked (and rapidly do so when click-holding).
## sliders
sliders are used for controlling values in a quick manner by being dragged.
2022-03-01 03:49:03 +00:00
alternatively, right-clicking or Ctrl-clicking or a slider (Command-click on macOS) will turn it into a number input field for a short period of time, allowing you to input fine values.