moved dropdown text height adjustment
This commit is contained in:
parent
6f80127408
commit
440dd1a073
1 changed files with 2 additions and 2 deletions
4
external/libguisan/src/widgets/dropdown.cpp
vendored
4
external/libguisan/src/widgets/dropdown.cpp
vendored
|
@ -437,9 +437,9 @@ namespace gcn
|
|||
throw GCN_EXCEPTION("List box has been deleted.");
|
||||
|
||||
const auto listBoxHeight = mListBox->getHeight();
|
||||
const auto h2 = getFont()->getHeight();
|
||||
const auto h2 = getFont()->getHeight() + 2;
|
||||
|
||||
setHeight(h2 + 2);
|
||||
setHeight(h2);
|
||||
|
||||
// The addition/subtraction of 2 compensates for the separation lines
|
||||
// separating the selected element view and the scroll area.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue