Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
9f3cea67
Commit
9f3cea67
authored
Mar 04, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Still fix very minor issues in dialog_edit_module_for_BoardEditor.cpp
parent
7ff61616
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
dialog_edit_module_for_BoardEditor_base.cpp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
+6
-6
dialog_edit_module_for_BoardEditor_base.fbp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
+6
-6
No files found.
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
View file @
9f3cea67
...
...
@@ -28,10 +28,10 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
m_ReferenceCtrl
=
new
wxTextCtrl
(
m_PanelProperties
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
wxTE_READONLY
);
m_ReferenceCtrl
->
SetMaxLength
(
0
);
sbSizerRef
->
Add
(
m_ReferenceCtrl
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxBOTTOM
|
wxLEFT
,
5
);
sbSizerRef
->
Add
(
m_ReferenceCtrl
,
1
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wx
BOTTOM
|
wxLEFT
,
5
);
m_button4
=
new
wxButton
(
m_PanelProperties
,
wxID_ANY
,
_
(
"Edit"
),
wxDefaultPosition
,
wxDefaultSize
,
wxBU_EXACTFIT
);
sbSizerRef
->
Add
(
m_button4
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
sbSizerRef
->
Add
(
m_button4
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
bSizer13
->
Add
(
sbSizerRef
,
0
,
wxALL
|
wxEXPAND
,
5
);
...
...
@@ -41,17 +41,17 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
m_ValueCtrl
=
new
wxTextCtrl
(
m_PanelProperties
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
wxTE_READONLY
);
m_ValueCtrl
->
SetMaxLength
(
0
);
sbSizerValue
->
Add
(
m_ValueCtrl
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxBOTTOM
|
wxLEFT
,
5
);
sbSizerValue
->
Add
(
m_ValueCtrl
,
1
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wx
BOTTOM
|
wxLEFT
,
5
);
m_button5
=
new
wxButton
(
m_PanelProperties
,
wxID_ANY
,
_
(
"Edit"
),
wxDefaultPosition
,
wxDefaultSize
,
wxBU_EXACTFIT
);
sbSizerValue
->
Add
(
m_button5
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
sbSizerValue
->
Add
(
m_button5
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
bSizer13
->
Add
(
sbSizerValue
,
0
,
wxALL
|
wxEXPAND
,
5
);
wxString
m_LayerCtrlChoices
[]
=
{
_
(
"Top"
),
_
(
"Bottom"
)
};
int
m_LayerCtrlNChoices
=
sizeof
(
m_LayerCtrlChoices
)
/
sizeof
(
wxString
);
m_LayerCtrl
=
new
wxRadioBox
(
m_PanelProperties
,
wxID_ANY
,
_
(
"Side"
),
wxDefaultPosition
,
wxDefaultSize
,
m_LayerCtrlNChoices
,
m_LayerCtrlChoices
,
1
,
0
);
m_LayerCtrl
=
new
wxRadioBox
(
m_PanelProperties
,
wxID_ANY
,
_
(
"Side"
),
wxDefaultPosition
,
wxDefaultSize
,
m_LayerCtrlNChoices
,
m_LayerCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_LayerCtrl
->
SetSelection
(
0
);
bSizer13
->
Add
(
m_LayerCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
...
...
@@ -62,7 +62,7 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
int
m_OrientCtrlNChoices
=
sizeof
(
m_OrientCtrlChoices
)
/
sizeof
(
wxString
);
m_OrientCtrl
=
new
wxRadioBox
(
m_PanelProperties
,
ID_LISTBOX_ORIENT_SELECT
,
_
(
"Orientation"
),
wxDefaultPosition
,
wxDefaultSize
,
m_OrientCtrlNChoices
,
m_OrientCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_OrientCtrl
->
SetSelection
(
0
);
sbSizerOrientation
->
Add
(
m_OrientCtrl
,
0
,
wxEXPAND
|
wx
BOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
sbSizerOrientation
->
Add
(
m_OrientCtrl
,
0
,
wxEXPAND
|
wx
ALL
,
5
);
m_staticText4
=
new
wxStaticText
(
m_PanelProperties
,
wxID_ANY
,
_
(
"User orientation (in 0.1 degrees):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText4
->
Wrap
(
-
1
);
...
...
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
View file @
9f3cea67
...
...
@@ -279,7 +279,7 @@
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wx
BOTTOM|wxLEFT
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxTextCtrl"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -370,7 +370,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -472,7 +472,7 @@
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wx
BOTTOM|wxLEFT
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxTextCtrl"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -563,7 +563,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -704,7 +704,7 @@
<property
name=
"selection"
>
0
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
<property
name=
"style"
>
wxRA_SPECIFY_COLS
</property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
...
...
@@ -755,7 +755,7 @@
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wx
BOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wxEXPAND|wx
ALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxRadioBox"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment