Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Title text truncated on OptionDialog on Android

$
0
0

Hi there, I've got an issue with long title text being truncated on android. On iOS the full text is shown. Any ideas how I can resolve this? Thanks.

To recreate, see below or here: https://gist.github.com/gllittler/0cf95651218a9cffb640.

index.xml:

Alloy>
    <Window class="container">
        <Label id="label" onClick="doClick">Hello, World</Label>
    </Window>
    <OptionDialog id="options">
        <Options>
            <Option>Yes</Option>
            <Option>No</Option>
        </Options>
    </OptionDialog>
</Alloy>
index.js:
function doClick(e) {
    $.options.title = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lobortis, nunc a vestibulum facilisis, felis sem sagittis diam, et interdum enim neque at tortor.";
    $.options.show();
}
 
$.index.open();
index.tss:
".container": {
    backgroundColor:"white"
}
 
"Label": {
    width: Ti.UI.SIZE,
    height: Ti.UI.SIZE,
    color: "#000"
}
 
"#label": {
    font: {
        fontSize: 12
    }
}
- Environment: - Titanium SDK: 3.5.0.GA - Android: 4.4 handheld (Moto G) - also observed on 4.3, other devices and emulator

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>