Use more appropriate size for DrawChoice() in the render sample
The drawn combobox was so huge that it looked wrong, use a more reasonable size for it.
This commit is contained in:
parent
f1eeeb02af
commit
c95a04310d
1 changed files with 4 additions and 2 deletions
|
|
@ -352,8 +352,10 @@ private:
|
|||
|
||||
y += heightListItem;
|
||||
|
||||
dc.DrawText("DrawChoice()", x1, y + 20);
|
||||
renderer.DrawChoice(this, dc, wxRect(x2, y, 80, 50), m_flags);
|
||||
y += lineHeight;
|
||||
dc.DrawText("DrawChoice()", x1, y);
|
||||
renderer.DrawChoice(this, dc,
|
||||
wxRect(x2, y, width, 1.5*GetCharHeight()), m_flags);
|
||||
y += 50;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue