KiCad PCB EDA Suite
KIUI Namespace Reference

Functions

int GetStdMargin ()
 Get the standard margin around a widget in the KiCad UI. More...
 

Function Documentation

int KIUI::GetStdMargin ( )

Get the standard margin around a widget in the KiCad UI.

Returns
margin in pixels

Definition at line 23 of file ui_common.cpp.

Referenced by BUTTON_ROW_PANEL::addButtons(), BUTTON_ROW_PANEL::BUTTON_ROW_PANEL(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), PANEL_HOTKEYS_EDITOR::installButtons(), and PANEL_HOTKEYS_EDITOR::PANEL_HOTKEYS_EDITOR().

24 {
25  // This is the value used in (most) wxFB dialogs
26  return 5;
27 }