v16 ControlEdit IsPassword
#1
Does anyone know if it is possible to set the password flag in the XML file for an edit type control?

I have tried
<IsPassword>1</IsPassword> lowercase and the case shown
<IsPassword>true</IsPassword> lowercase and the case shown
<hidden>true</hidden>
hidden="true"
hidden="1"
option="hidden"

None of which work. The documentation states it can be done when creating an ControlEdit through python, so I would assume there has to be a way to hard code it int he XML file.

ControlEdit (x, y, width, height, label[, font, textColor, disabledColor, alignment, focusTexture, noFocusTexture])

x : integer - x coordinate of control.
y : integer - y coordinate of control.
width : integer - width of control.
height : integer - height of control.
label : string or unicode - text string.
font : [opt] string - font used for label text. (e.g. 'font13')
textColor : [opt] hexstring - color of enabled label's label. (e.g. '0xFFFFFFFF')
disabledColor : [opt] hexstring - color of disabled label's label. (e.g. '0xFFFF3300')
alignment : [opt] integer - alignment of label - *Note, see xbfont.h
focusTexture : [opt] string - filename for focus texture.
noFocusTexture : [opt] string - filename for no focus texture.
isPassword : [opt] bool - if true, mask text value.
Reply
#2
nope, not possible through xml.

as an alternative, perhaps you can use a normal button that opens an keyboard dialog when clicked.
http://mirrors.xbmc.org/docs/python-docs...l#Keyboard
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
ControlEdit IsPassword0