Baseline shift when editing editable ComboBox


#1

Steps:

1: Create a FilenameComponent of height 32, with editable text allowed
2: Choose a file or directory
3: Click to put the FilenameComponent into edit mode

Result:

The baseline of the text will shift upwards

[color=#FF0000]Changed the Subject line to note that it is in the ComboBox[/color]


#2

Anything?


#3

Sorry, I have many less pedantic things on my to-do-list at the moment…


#4

Understandable. Should I attempt a fix?


#5

Sure, fire away!


#6

Okay this is actually a problem with the ComboBox Component, with setEditableText (true). It happens with any editable ComboBox. I will keep studying it.