Преглед изворни кода

Fix wrong font properties computation when the window is small

Popov72 пре 5 година
родитељ
комит
0a846278a6
1 измењених фајлова са 1 додато и 0 уклоњено
  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);