Layouts were invented so one doesn’t ’t have to compute sizes. If one learns to use the right layouts, panels continue to look good when windows need to be resized because of screen resolution changes, font changes, language changes, etc.E.g. what will an application with null layouts look like to
I use a SizedPanel extends JPanel for null Layout and it works for all my
needs. But you have to compute sizing yourself. I use it that way for both
BoundingBox’es and GUI components. I use it in Swing and Awt. I use a mix of
both or it doesn’t work correctly. It all works properly. There used t
You are using code - it’s just that the NB GUI editor creates the Java code for
you. The height of the combobox is constrained by how much space the
containing panel is giving it. In other words, it doesn’t matter how tall you
tell the combo box to be, if the panel doesn’t give it that much s
Like I said earlier, it might be a layout issue. Saying “help” isn’t enough
detail for anyone to actually help. You have to actually post the code that
has the problem for people to try and help. Like the snippet of your code that
creates the panel that has the combo box that has the problem.
Hi
Apologies for the delay. I have tried all size like properties to make the
letters visible. None of them seem to work. Would you happen to know which
property I need to set?
Regards
Murali
> On 6 Jan 2023, at 8:28 PM, Thomas Wolf wrote:
>
> Not enough detail, but it looks like you’re not
Not enough detail, but it looks like you’re not giving the combo box enough
space to size itself around the size of the container items. Check the layout
and/or size of the surrounding panel(s).
Hope that helps
Tom
> On Jan 5, 2023, at 10:25 PM, Murali Govind wrote:
>
> Hi
>
> I am able to
Hi
I am able to change the size of the combobox. I can change the size of font
also. But the area inside the combobox where the text is displayed remains the
same size. As a result it truncates the text.
Anyone can help how to fix it?
Regards
Murali