ComboBox label position


#1

Hi, there.

I’m writing a ComboBox component which inherited CombBox.
Although I’d like to adjust the label position, I cannot call the label component in resize().

Is there a way to adjust it other than justification?


#2

Well, no, it’s not really designed to be messed around with like that. What do you want to do to it?


#3

I’d like to make the ComboBox with rounded rectangle background using custom LookAndFeel, and set justification as center left. In this case, the rounded edge and text overlapped only a little bit, so I need to move the text to the right.


#4

Ok, I’ll come up with something to let you do that…


#5

Thanks :slight_smile: