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
813efb77
Commit
813efb77
authored
Jan 27, 2015
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Smal change in dialog.
parent
2a4d0bad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dialog_edit_component_in_schematic_fbp.cpp
eeschema/dialogs/dialog_edit_component_in_schematic_fbp.cpp
+3
-3
dialog_edit_component_in_schematic_fbp.fbp
eeschema/dialogs/dialog_edit_component_in_schematic_fbp.fbp
+3
-3
No files found.
eeschema/dialogs/dialog_edit_component_in_schematic_fbp.cpp
View file @
813efb77
...
@@ -149,16 +149,16 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
...
@@ -149,16 +149,16 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
int
m_FieldHJustifyCtrlNChoices
=
sizeof
(
m_FieldHJustifyCtrlChoices
)
/
sizeof
(
wxString
);
int
m_FieldHJustifyCtrlNChoices
=
sizeof
(
m_FieldHJustifyCtrlChoices
)
/
sizeof
(
wxString
);
m_FieldHJustifyCtrl
=
new
wxRadioBox
(
this
,
wxID_ANY
,
_
(
"Horiz. Justify"
),
wxDefaultPosition
,
wxDefaultSize
,
m_FieldHJustifyCtrlNChoices
,
m_FieldHJustifyCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_FieldHJustifyCtrl
=
new
wxRadioBox
(
this
,
wxID_ANY
,
_
(
"Horiz. Justify"
),
wxDefaultPosition
,
wxDefaultSize
,
m_FieldHJustifyCtrlNChoices
,
m_FieldHJustifyCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_FieldHJustifyCtrl
->
SetSelection
(
2
);
m_FieldHJustifyCtrl
->
SetSelection
(
2
);
bSizerJustification
->
Add
(
m_FieldHJustifyCtrl
,
1
,
wxRIGHT
|
wxLEFT
,
5
);
bSizerJustification
->
Add
(
m_FieldHJustifyCtrl
,
1
,
wx
BOTTOM
|
wx
RIGHT
|
wxLEFT
,
5
);
wxString
m_FieldVJustifyCtrlChoices
[]
=
{
_
(
"Bottom"
),
_
(
"Center"
),
_
(
"Top"
)
};
wxString
m_FieldVJustifyCtrlChoices
[]
=
{
_
(
"Bottom"
),
_
(
"Center"
),
_
(
"Top"
)
};
int
m_FieldVJustifyCtrlNChoices
=
sizeof
(
m_FieldVJustifyCtrlChoices
)
/
sizeof
(
wxString
);
int
m_FieldVJustifyCtrlNChoices
=
sizeof
(
m_FieldVJustifyCtrlChoices
)
/
sizeof
(
wxString
);
m_FieldVJustifyCtrl
=
new
wxRadioBox
(
this
,
wxID_ANY
,
_
(
"Vert. Justify"
),
wxDefaultPosition
,
wxDefaultSize
,
m_FieldVJustifyCtrlNChoices
,
m_FieldVJustifyCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_FieldVJustifyCtrl
=
new
wxRadioBox
(
this
,
wxID_ANY
,
_
(
"Vert. Justify"
),
wxDefaultPosition
,
wxDefaultSize
,
m_FieldVJustifyCtrlNChoices
,
m_FieldVJustifyCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_FieldVJustifyCtrl
->
SetSelection
(
2
);
m_FieldVJustifyCtrl
->
SetSelection
(
2
);
bSizerJustification
->
Add
(
m_FieldVJustifyCtrl
,
1
,
wxRIGHT
|
wxLEFT
,
5
);
bSizerJustification
->
Add
(
m_FieldVJustifyCtrl
,
1
,
wx
BOTTOM
|
wx
RIGHT
|
wxLEFT
,
5
);
fieldEditBoxSizer
->
Add
(
bSizerJustification
,
0
,
wxEXPAND
|
wxBOTTOM
,
5
);
fieldEditBoxSizer
->
Add
(
bSizerJustification
,
1
,
wxEXPAND
|
wxBOTTOM
,
5
);
wxBoxSizer
*
bSizerStyle
;
wxBoxSizer
*
bSizerStyle
;
bSizerStyle
=
new
wxBoxSizer
(
wxHORIZONTAL
);
bSizerStyle
=
new
wxBoxSizer
(
wxHORIZONTAL
);
...
...
eeschema/dialogs/dialog_edit_component_in_schematic_fbp.fbp
View file @
813efb77
...
@@ -1774,7 +1774,7 @@
...
@@ -1774,7 +1774,7 @@
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wxBOTTOM
</property>
<property
name=
"flag"
>
wxEXPAND|wxBOTTOM
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxBoxSizer"
expanded=
"1"
>
<object
class=
"wxBoxSizer"
expanded=
"1"
>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
bSizerJustification
</property>
<property
name=
"name"
>
bSizerJustification
</property>
...
@@ -1782,7 +1782,7 @@
...
@@ -1782,7 +1782,7 @@
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wx
BOTTOM|wx
RIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxRadioBox"
expanded=
"0"
>
<object
class=
"wxRadioBox"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1872,7 +1872,7 @@
...
@@ -1872,7 +1872,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wx
BOTTOM|wx
RIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxRadioBox"
expanded=
"0"
>
<object
class=
"wxRadioBox"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<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