瀏覽代碼

Tweaked TextField minsize.

Mark Sibly 9 年之前
父節點
當前提交
6b2c79e34a
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 4 1
      modules/mojox/mojox.monkey2
  2. 1 1
      modules/mojox/textfield.monkey2

+ 4 - 1
modules/mojox/mojox.monkey2

@@ -24,10 +24,13 @@ Namespace mojox
 #Import "scrollableview"
 
 #Import "textview"
-#Import "textfield"
 
 #Import "tableview"
 
+#Import "textfield"
+#Import "optionsfield"
+#Import "filepathfield"
+
 #Import "toolbar"
 #Import "menu"
 #Import "tabview"

+ 1 - 1
modules/mojox/textfield.monkey2

@@ -31,7 +31,7 @@ Class TextField Extends TextView
 		
 		ScrollBarsVisible=False
 		
-		MaxSize=New Vec2i( 512,0 )
+		MaxSize=New Vec2i( 160,0 )
 		
 		Document.TextChanged+=Lambda()
 			TextChanged()