Procházet zdrojové kódy

Add a password-mode textbox to the sample browser

Marc Plano-Lesay před 12 roky
rodič
revize
f6c21bce6c

+ 11 - 1
samples/browser/res/common/forms/formBasicControls.form

@@ -62,6 +62,16 @@ form basicControls
 		consumeInputEvents = true
 		consumeInputEvents = true
     }
     }
 
 
+    textBox testPasswordTextBox
+    {
+        style = topLeftAlignedEntry
+        position = 20, 540
+        size = 250, 40
+        text = password
+        consumeInputEvents = true
+        inputMode = PASSWORD
+    }
+
 	container radioButtonContainer
 	container radioButtonContainer
 	{
 	{
 		layout = LAYOUT_VERTICAL
 		layout = LAYOUT_VERTICAL
@@ -116,4 +126,4 @@ form basicControls
         size = 200, 100
         size = 200, 100
         text = Alignment: bottom-right. Right margin: 50. Bottom margin: 100.
         text = Alignment: bottom-right. Right margin: 50. Bottom margin: 100.
     }
     }
-}
+}