How is it possible that set size(both width and height) to the component in Codename one designer?

I got a problem in codenameone designer, I cant find anything related to the sizing component. I want to set size components in codenameone designer not implementing in the codes. Thanks in advance


This is the wrong way to look at this, you should not set size but instead trigger size which depends on your component type and your intentions. E.g. for text components set the columns/rows, for lists/combo boxes set the rendering prototype. You can also manipulate padding/margin/border/layout etc. to manipulate whitespace.

If you insist you can always bind a before*Show event and invoke setPreferredSize on the component.

Need Your Help

Python XML XPath partial failure message

python xml xpath

in some code I maintain there's XML parsing using minidom library.

SOAP webservice: Multiple references to the same object in SOAP result

java soap jax-ws jax-rs jboss7.x

I'm building a SOAP service to be used in JBoss 7.1. Until now I'm only using annotations and no XML files of generated files. Both server and client work fine for POJO's.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.