称重分析模块新增
This commit is contained in:
@@ -382,7 +382,7 @@ namespace MesWork.Pages
|
||||
valueLabel.BackColor = panel.BackColor;
|
||||
valueLabel.Font = new System.Drawing.Font("微软雅黑", valueFontSize, System.Drawing.FontStyle.Bold);
|
||||
valueLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95)))));
|
||||
int unitWidth = unit == "KG/L" ? 66 : (unit == "ppm" ? 58 : 38);
|
||||
int unitWidth = unit == "KG/L" ? 66 : (unit == "ppm" ? 76 : 38);
|
||||
int valueRightPadding = unitLabel == null ? 16 : unitWidth + 24;
|
||||
valueLabel.Location = new System.Drawing.Point(20, height >= 100 ? 24 : 20);
|
||||
valueLabel.Size = new System.Drawing.Size(Math.Max(72, width - 20 - valueRightPadding), height >= 100 ? height - 40 : height - 24);
|
||||
|
||||
Reference in New Issue
Block a user