Is it possible to align the label of the ImageItem at the left of the image in J2ME Polish?
Thanks.
I resolved the problem using IconCustomItem instead of ImageItem.
Related
I tried using the drawing API of highcharts. Im trying to create a custom map with text inside. But I cant find a way to center the text inside a rect. I have to create a uniform width boxes with varying text inside. Is there any way to center the text inside with manually adjusting/adding just like the example http://www.highcharts.com/demo/renderer. Thanks.
You can center text inside a container with attribute text-anchor like this
renderer.text('helloworld', xVal, yVal).attr({
"text-anchor" : "middle"
}).add();
The elemens are printed as SVG / VML elements, not HTML, so you cannot use text-align:center;
Have found the solution for aligning the text in center
ren.label(' TEST',210, 200 ,'rect', null, null, true)
Label comes useHTML parameter which is set to false by default.
You can use the pre tag also.
When I use a bitmap font in lwuit List in emulator and SonyEricsson k510i everythings right but in g900 if font size is bigger than 9 words, is not shown ? please help me to fix this problem ...
When using bitmap font, you have to use different font objects for different screen width.
For Example, if the font size for 240*320 device is 12 means, set font size to 20 for 360*640.
No other solution is available to solve this issue.
I want to style Monotouch Dialog Section like this (change the blue background to an image of my own)...
How do I do that?
Thanks
You need to set the HeaderView of your Section to a new UILabel object. UILabels are descendant of UIView, so they fit perfectly for this.
Make sure you set the background to black, the font to the one you want, and the frame size to (320,22). MonoTouch uses that frame size to figure how big the header should be.
How can one render some text on a texture and then display it?
DirectX 10 Draw Text to texture
This basically doesn't work for me. (it simply does not draw the text.)
Thanks in advance.
If you are working with DirectX10, you could use Direct Write. http://msdn.microsoft.com/en-us/library/ff485855(v=vs.85).aspx
i make bitmap font with j2mepolish font editor , is it possible to use this bitmap font on LWUIT ?
how ?
thanks
currently there is no support for importing j2mepolish bitmaps into LWUIT.