Skip to main content
Zwei.9
Associate III
January 16, 2020
Solved

How to make a table widget?

  • January 16, 2020
  • 1 reply
  • 689 views

One idea i have is to put N*textArea in a Container.

This topic has been closed for replies.
Best answer by Martin KJELDSEN

That's one way of doing it. You could combine it with ListLayout.

namespace touchgfx
{
/**
 * @class ListLayout ListLayout.hpp touchgfx/containers/ListLayout.hpp
 *
 * @brief This class provides a layout mechanism for arranging Drawable instances adjacently in the
 * specified Direction.
 *
 * This class provides a layout mechanism for arranging Drawable instances adjacently in
 * the specified Direction. The first element in the ListLayout is positioned in the
 * ListLayout origin (0,0). The dimension of this class is automatically expanded to
 * cover the area of the added Drawable instances.
 *
 * @see Container
 */
class ListLayout : public Container
{

/Martin

1 reply

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
January 16, 2020

That's one way of doing it. You could combine it with ListLayout.

namespace touchgfx
{
/**
 * @class ListLayout ListLayout.hpp touchgfx/containers/ListLayout.hpp
 *
 * @brief This class provides a layout mechanism for arranging Drawable instances adjacently in the
 * specified Direction.
 *
 * This class provides a layout mechanism for arranging Drawable instances adjacently in
 * the specified Direction. The first element in the ListLayout is positioned in the
 * ListLayout origin (0,0). The dimension of this class is automatically expanded to
 * cover the area of the added Drawable instances.
 *
 * @see Container
 */
class ListLayout : public Container
{

/Martin