فهرست منبع

Merge pull request #8893 from Popov72/fix-textblock-fontsize

Fix wrong font properties computation when the window is small
sebavan 5 سال پیش
والد
کامیت
5786024e3c
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);