Assets/Scripts/VitrivrVR/UI/QueryListView.cs
/// <summary>
/// Adds the text indication that there are currently no queries in the history.
/// </summary>
Adds the text indication that there are currently no queries in the history.
Adds the text indication that there are currently no queries in the history .
private void AddQueriesEmptyText()
    {
      var textRect = Instantiate(textPrefab, list);
      var tmp = textRect.GetComponentInChildren<TextMeshProUGUI>();
      tmp.text = "No queries recorded.";
      textRect.sizeDelta = new Vector2(tmp.GetPreferredValues().x, textRect.sizeDelta.y);
    }
private void AddQueriesEmptyText ( ) { var textRect = Instantiate ( textPrefab , list ) ; var tmp = textRect . GetComponentInChildren < TextMeshProUGUI > ( ) ; tmp . text = " " ; textRect . sizeDelta = new Vector2 ( tmp . GetPreferredValues ( ) . x , textRect . sizeDelta . y ) ; }
Adds the text indication that there are currently no queries in the history.
Adds the text indication that there are currently no queries in the history .