mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #163] [MERGED] Update PopUpList.cpp #197
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#197
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/163
Author: @schutm
Created: 9/15/2023
Status: ✅ Merged
Merged: 10/24/2023
Merged by: @mirek-fidler
Base:
master← Head:patch-1📝 Commits (2)
585c743Update PopUpList.cpp04888ecMerge branch 'ultimatepp:master' into patch-1📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
uppsrc/CtrlLib/PopUpList.cpp(+1 -1)📄 Description
The height of the listitems in the dropdown shouldn't be determined by the font-size. It should be taken from the list it encapsulates. See below code for the reason:
DropList dl;
dl.SetLineCy(32);
dl.Add(String("1")).Add(String("2"));
dl.SetLineCy(0, 48);
in this case the first row will be drawn with height 48px and second with (on my machine) height 15px. This change ensure the second line will be drawn with height 32px.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.