14PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 wxBoxSizer* bSizerMargins;
20 bSizerMargins =
new wxBoxSizer( wxVERTICAL );
22 wxBoxSizer* defaultPropertiesSizer;
23 defaultPropertiesSizer =
new wxBoxSizer( wxVERTICAL );
25 wxStaticText* defaultPropertiesLabel;
26 defaultPropertiesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Default properties for new graphic items:"), wxDefaultPosition, wxDefaultSize, 0 );
27 defaultPropertiesLabel->Wrap( -1 );
28 defaultPropertiesSizer->Add( defaultPropertiesLabel, 0, wxEXPAND|wxRIGHT|wxLEFT, 8 );
30 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
31 defaultPropertiesSizer->Add(
m_staticline1, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
34 defaultPropertiesSizer->Add( 0, 4, 0, wxEXPAND, 5 );
59 m_graphicsGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
70 m_graphicsGrid->SetRowLabelAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
75 m_graphicsGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
76 defaultPropertiesSizer->Add(
m_graphicsGrid, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1 );
79 bSizerMargins->Add( defaultPropertiesSizer, 0, wxEXPAND|wxTOP, 5 );
82 bSizerMargins->Add( 0, 20, 0, wxEXPAND, 5 );
85 bSizerMain->Add( bSizerMargins, 1, wxEXPAND, 5 );
88 this->SetSizer( bSizerMain );
90 bSizerMain->Fit(
this );
PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
~PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE()
wxStaticLine * m_staticline1
A wxPanel that is designed to be reset in a standard manner.
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...