|
KiCad PCB EDA Suite
|
The net navigator's tree control. More...
#include <net_navigator_tree.h>
Public Member Functions | |
| NET_NAVIGATOR_TREE (wxWindow *aParent, wxWindowID aId, const wxPoint &aPos, const wxSize &aSize, long aStyle) | |
| void | RecalculateRowHeight () |
| Recompute the row height from the control's current font. | |
The net navigator's tree control.
wxGenericTreeCtrl caches the row height it derives from the control font, but wxMSW swaps in a rescaled font on a DPI change without going through the virtual SetFont() that would recompute it. This exposes the recomputation so the owner can drive it.
Definition at line 33 of file net_navigator_tree.h.
|
inline |
Definition at line 36 of file net_navigator_tree.h.
|
inline |
Recompute the row height from the control's current font.
Text extents are cached on the items, so the tree must also be repopulated for a font size change to take full effect.
Definition at line 48 of file net_navigator_tree.h.