Browse Source

Fix wrong font properties computation when the window is small

Popov72 5 years ago
parent
commit
0a846278a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/src/2D/controls/control.ts

+ 1 - 0
gui/src/2D/controls/control.ts

@@ -2016,6 +2016,7 @@ export class Control {
         block.style.verticalAlign = "bottom";
 
         var div = document.createElement("div");
+        div.style.whiteSpace = "nowrap";
         div.appendChild(text);
         div.appendChild(block);