Browse Source

Update button.ts

aWeirdo 7 năm trước cách đây
mục cha
commit
0f20e257ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gui/src/controls/button.ts

+ 1 - 1
gui/src/controls/button.ts

@@ -144,7 +144,7 @@ module BABYLON.GUI {
             var textBlock = new BABYLON.GUI.TextBlock(name + "_button", text);
             textBlock.textWrapping = true;
             textBlock.zIndex = 10; 
-		    textBlock.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER;
+            textBlock.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER;
             result.addControl(textBlock);   
 
             // Adding image