Skip to content

Commit

Permalink
gui: add spaces in Rect format
Browse files Browse the repository at this point in the history
Change "(1,2), (3,4)" to "(1, 2), (3, 4)" for readability

Signed-off-by: Matt Liberty <[email protected]>
  • Loading branch information
maliberty committed Jul 26, 2024
1 parent 0ee1c77 commit bd316be
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 bd316be

Please sign in to comment.