Viewing 1 post (of 1 total)
  • Author
    Posts
  • dangdai Friend
    #146877

    I tried to middle align text inside a hbox:confused:but the text always stick out and does not fit

    var hb:HBox = new HBox();
    hb.setStyle(“verticalAlign”, “middle”);
    hb.height = 12;
    var textField:Label = new Label();
    textField.styleName = “treeMapLinkLabel”;
    textField.text = labelProp.getValue(hereNode);
    hb.addChild(textField);
    addChild(hb);

    what can i do ?:confused:

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  dangdai 14 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum