Skip to content

One column in the joint bars cause some problems to layout #2

Description

@torydebra

Hi, I am using your GUI, and noticed a thing. When joints are less than 8, one column is used (ca51808).
Have you tested this thing? On my "fork" the result is this:
Schermata del 2020-07-17 16-15-34

By the way, I am not sure if this is caused by my modifications, or it is a problem that also robot_monitoring has

Activity

  1. torydebra commented on Nov 4, 2022

    @torydebra
    MemberAuthor

    Returning to this after ages, just a thing that can improve the visualization and save space if joints are only a few: in the bar_plot_widget


    could be useful to remove the columns if they are empty:

      //remove layout if it is empty to handle better the space
      if (bars_layout_center->count() == 0) {
          bars_layout_center->setParent(nullptr);
          auto line = findChild<QWidget *>("line_2");
          line->setVisible(false);
      }
      if (bars_layout_right->count() == 0) {
          bars_layout_right->setParent(nullptr);
          auto line = findChild<QWidget *>("line");
          line->setVisible(false);
      }

    @alaurenzi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions