[Interest] Styled text not setting control size

Jason H scorp1us at yahoo.com
Wed May 14 05:05:20 CEST 2014


   TextField {
    width: parent.width
    style: TextFieldStyle {
     textColor: "white"
     font {pixelSize: 30}
     background: Rectangle { color:"black" }
    }
   }
When using the code above, the black area is about 1/2 the height of the letters that are entered into the text field. The letters protrude above the black box.

It should use the implicit height, should it not?




More information about the Interest mailing list