Skip to content

Commit f090122

Browse files
committed
adjust sizes
1 parent 8a4e79c commit f090122

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Framework/GUISupport/src/FrameworkGUIDataRelayerUsage.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct HeatMapHelper {
4949
ImVec2 sliderMin = ImGui::GetItemRectMin();
5050

5151
constexpr float MAX_BOX_X_SIZE = 16.f;
52-
constexpr float MAX_BOX_Y_SIZE = 32.f;
52+
constexpr float MAX_BOX_Y_SIZE = 16.f;
5353

5454
ImVec2 size = ImVec2(sizeHint.x, std::min(sizeHint.y, MAX_BOX_Y_SIZE * getNumItems(0) + 2));
5555
ImU32 BORDER_COLOR = ImColor(200, 200, 200, 255);

Framework/GUISupport/src/FrameworkGUIDevicesGraph.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@ void showTopologyNodeGraph(WorkspaceGUIState& state,
692692
bool old_any_active = ImGui::IsAnyItemActive();
693693
ImGui::SetCursorScreenPos(node_rect_min + NODE_WINDOW_PADDING);
694694
ImGui::BeginGroup(); // Lock horizontal position
695-
ImGui::PushItemWidth(200.);
696695
ImGui::TextUnformatted(node->Name);
697696
switch (info.maxLogLevel) {
698697
case LogLevel::Critical:
@@ -715,7 +714,7 @@ void showTopologyNodeGraph(WorkspaceGUIState& state,
715714
break;
716715
}
717716

718-
gui::displayDataRelayer(metricsInfos[node->ID], infos[node->ID], specs[node->ID], allStates[node->ID], ImVec2(160., 90.), controls[node->ID].firstWnd);
717+
gui::displayDataRelayer(metricsInfos[node->ID], infos[node->ID], specs[node->ID], allStates[node->ID], ImVec2(200., 160.), controls[node->ID].firstWnd);
719718
ImGui::EndGroup();
720719

721720
// Save the size of what we have emitted and whether any of the widgets are being used

0 commit comments

Comments
 (0)