#10: Karabo Scene¶
A number of features have been added in Karabo 2.8.0 to help ease scene development:
Scene Grid
Selection Indicators
Snap to Grid
Scene Grid¶
The scene Design Mode is now displayed with grid. This can be used as guide for aligning scene items. It has a preset dimension of 10 px x 10 px.
Selection Indicators¶
Hovering an item¶
Hovering the mouse cursor on the scene Design Mode will now show an indicator of the current hovered item, which is a blue rectangle that denotes the item boundaries. This aims to make the selection of scene items easier.
Note that this respects the object arrangement, which determines which are in the front or the back. This arrangement can be modified by the “Bring selected items to front” and “Bring selected items to back” tool buttons.
Selecting a scene item¶
Selecting a single item can be done by clicking the desired object. The hover rectangle will turn into a selection rectangle, which is displayed as a dashed rectangle with eight handles around it. The selected item can be moved by hovering the mouse inside the selection and dragging to the desired location. It can also be resized by dragging the edge of the selection rectangle to the desired size.
Selecting multiple items¶
Selecting multiple objects can be done by dragging an area which contains the desired items. These items can be moved together by hovering the mouse inside the selection and dragging to the desired location. On the other hand, multiple items cannot be resized together, and is indicated by the grayed out handles of the selection rectangle.
Snap to Grid¶
Scene objects also now snap to the nearest grid location when they are moved or resized via dragging.
This behavior is enabled by default, but it can be disabled and re-enabled with the “Snap to Grid” tool button.