Skip to main content

Grouping of controls into containers

In DronaHQ, the grouping of controls in containers is a valuable feature that allows users to organize and manage controls within their app efficiently. Containers are essentially visual elements that act as wrappers for other controls, helping to group them together logically. This use case is especially useful when designing complex and interactive app interfaces.

Overview

DronaHQ offers a versatile container control feature that enables users to group related controls together within their app. Containers serve as visual containers, encapsulating other controls, and enhancing the overall organization and user experience of the app interface.

Benefits

  1. Enhanced Organization: Containers allow users to visually organize controls into logical groups. This simplifies app design and improves the app's usability.

  2. Streamlined User Interface: By grouping controls within containers, the user interface becomes more structured and intuitive, helping end-users navigate the app with ease.

  3. Simplified Control Management: Containers make it easier to manage and manipulate multiple controls simultaneously, reducing development time and effort.

  4. Improved User Experience: The use of containers creates a more cohesive and visually appealing app layout, enhancing the overall user experience.

Key Features

Container Types

  • Vertical Containers: These containers stack controls vertically, allowing for a linear arrangement of controls within the container. More useful for Advance screen.
  • Horizontal Containers: These containers arrange controls horizontally, facilitating side-by-side positioning of controls. More useful for Advance screen.

Nesting Containers

  • Users can nest containers within other containers, allowing for hierarchical grouping of controls. This enables more complex and structured app designs.

Custom Styling

  • Containers can be customized to match the app's theme and branding, ensuring a consistent look and feel throughout the application.

Responsive Design

  • Containers are designed to be responsive, adapting to different screen sizes and orientations, making the app accessible across various devices.

Customizations in Container Control

PropertiesExplanation
colorwe can select background color for container control.
imagewe can select background image for container control.
image fitwe can select image fit as cover or contain as per our requirement.
opacitywe can set css opacity here which can be used to change look and feel of background image and color.
Box shadowif toggled on container will show a box shadow. if toggled off container will not show any shadow.
borderwe can set border for container control using this property.
widthwe can set border width for container control using this property.
stylewe can set border style using this property options are none, solid, dashed, dotted.
colorwe can set border color for container control using this property.
radiuswe can set border radius for all 4 side separately for container control using this property.

Use Case Scenario

Case 1

Let's consider a form-building app that allows users to create custom surveys. The app has multiple form controls, such as text inputs, radio buttons, checkboxes, and dropdown menus. Without containers, all these controls might be displayed randomly on the page, making the app interface cluttered and confusing.

By using containers, the app developers can group related controls together. For example, they can place all the radio buttons within a horizontal container, neatly arranging them side by side. Similarly, they can use vertical containers to group related questions and their corresponding text inputs.

The use of containers in this scenario simplifies the form creation process for end-users, allowing them to easily navigate and understand the survey structure. It also makes it easier for the app developers to manage and maintain the app's codebase.

Simple Database GUI
Use Case 1.

Case 2

Let's consider a Tray type of screen where showing a screen loader as per users need is bit tricky.

To achieve this case user can use two container controls one for loader and one main container for the actual controls they wish to display as a condition is met. So they can keep the container with loader screen visible and all other containers hidden by default and configure hide or show conditions for this containers.

The use of containers in this scenario simplifies the logic of writing hide and show conditions for each and every individual control.

Simple Database GUI
Use Case 2.

Conclusion

The grouping of controls in containers feature in DronaHQ provides a powerful solution for organizing and managing controls within app interfaces. By effectively utilizing containers, developers can create more structured, user-friendly, and visually appealing apps, enhancing the overall user experience.