Skip to content

Commit

Permalink
Merge pull request #5458 from The-OpenROAD-Project-staging/gui-rect-f…
Browse files Browse the repository at this point in the history
…ormat

gui: add spaces in Rect format
  • Loading branch information
maliberty authored Jul 26, 2024
2 parents 003df52 + bd316be commit 319e159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1504,9 +1504,9 @@ std::string Descriptor::Property::toString(const std::any& value)
return *v ? "True" : "False";
} else if (auto v = std::any_cast<odb::Rect>(&value)) {
std::string text = "(";
text += convert_dbu(v->xMin(), false) + ",";
text += convert_dbu(v->xMin(), false) + ", ";
text += convert_dbu(v->yMin(), false) + "), (";
text += convert_dbu(v->xMax(), false) + ",";
text += convert_dbu(v->xMax(), false) + ", ";
text += convert_dbu(v->yMax(), false) + ")";
return text;
} else if (auto v = std::any_cast<odb::Point>(&value)) {
Expand Down

0 comments on commit 319e159

Please sign in to comment.