hrev54874 adds 1 changeset to branch 'master'
old head: 7b661b559ebc6e16fb912c4601cc62b81d10923f
new head: 7de95781420cf437d3ee61158008ee4e13227e70
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=7de95781420c+%5E7b661b559ebc
----------------------------------------------------------------------------
7de95781420c: ProcessController: fix huge bar for low CPU systems
[ Adrien Destugues <adrien.destugues@xxxxxxxxxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54874
Commit: 7de95781420cf437d3ee61158008ee4e13227e70
URL: https://git.haiku-os.org/haiku/commit/?id=7de95781420c
Author: Adrien Destugues <adrien.destugues@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun Jan 10 19:46:36 2021 UTC
----------------------------------------------------------------------------
2 files changed, 2 insertions(+), 2 deletions(-)
src/apps/processcontroller/PCWindow.cpp | 2 +-
src/apps/processcontroller/ProcessController.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/apps/processcontroller/PCWindow.cpp
b/src/apps/processcontroller/PCWindow.cpp
index 2389259ea4..e66766abea 100644
--- a/src/apps/processcontroller/PCWindow.cpp
+++ b/src/apps/processcontroller/PCWindow.cpp
@@ -31,7 +31,7 @@ PCWindow::PCWindow()
system_info info;
get_system_info(&info);
- int width = 15;
+ int width = 4;
if (info.cpu_count > 4)
width = info.cpu_count;
if (info.cpu_count <= 16)
diff --git a/src/apps/processcontroller/ProcessController.cpp
b/src/apps/processcontroller/ProcessController.cpp
index 5a5c62dc3d..36e79581b5 100644
--- a/src/apps/processcontroller/ProcessController.cpp
+++ b/src/apps/processcontroller/ProcessController.cpp
@@ -130,7 +130,7 @@ instantiate_deskbar_item(float maxWidth, float maxHeight)
system_info info;
get_system_info(&info);
- int width = 15;
+ int width = 4;
if (info.cpu_count > 4)
width = info.cpu_count;
if (info.cpu_count <= 16)