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
b992feea
Commit
b992feea
authored
Mar 16, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: designe rule dialog: fix incorect size of track list grid
parent
9a8baa00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
16 deletions
+11
-16
dialog_design_rules_base.cpp
pcbnew/dialogs/dialog_design_rules_base.cpp
+6
-13
dialog_design_rules_base.fbp
pcbnew/dialogs/dialog_design_rules_base.fbp
+1
-1
dialog_design_rules_base.h
pcbnew/dialogs/dialog_design_rules_base.h
+4
-2
No files found.
pcbnew/dialogs/dialog_design_rules_base.cpp
View file @
b992feea
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10
2012)
// C++ code generated with wxFormBuilder (version
Oct 8
2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_design_rules_aux_helper_class.h"
#include "dialog_design_rules_base.h"
///////////////////////////////////////////////////////////////////////////
...
...
@@ -198,6 +200,7 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
fgMinValuesSizer
->
Add
(
m_TrackMinWidthTitle
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxTOP
|
wxBOTTOM
|
wxLEFT
,
5
);
m_SetTrackMinWidthCtrl
=
new
wxTextCtrl
(
m_panelGolbalDesignRules
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_SetTrackMinWidthCtrl
->
SetMaxLength
(
0
);
fgMinValuesSizer
->
Add
(
m_SetTrackMinWidthCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_ViaMinTitle
=
new
wxStaticText
(
m_panelGolbalDesignRules
,
wxID_ANY
,
_
(
"Min via diameter"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -205,6 +208,7 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
fgMinValuesSizer
->
Add
(
m_ViaMinTitle
,
0
,
wxALIGN_RIGHT
|
wxALIGN_CENTER_VERTICAL
|
wxTOP
|
wxLEFT
,
5
);
m_SetViasMinSizeCtrl
=
new
wxTextCtrl
(
m_panelGolbalDesignRules
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_SetViasMinSizeCtrl
->
SetMaxLength
(
0
);
fgMinValuesSizer
->
Add
(
m_SetViasMinSizeCtrl
,
0
,
wxEXPAND
|
wxTOP
|
wxRIGHT
|
wxLEFT
,
5
);
m_ViaMinDrillTitle
=
new
wxStaticText
(
m_panelGolbalDesignRules
,
wxID_ANY
,
_
(
"Min via drill dia"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -212,6 +216,7 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
fgMinValuesSizer
->
Add
(
m_ViaMinDrillTitle
,
0
,
wxTOP
|
wxBOTTOM
|
wxLEFT
|
wxALIGN_RIGHT
,
5
);
m_SetViasMinDrillCtrl
=
new
wxTextCtrl
(
m_panelGolbalDesignRules
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_SetViasMinDrillCtrl
->
SetMaxLength
(
0
);
fgMinValuesSizer
->
Add
(
m_SetViasMinDrillCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_MicroViaMinSizeTitle
=
new
wxStaticText
(
m_panelGolbalDesignRules
,
wxID_ANY
,
_
(
"Min uvia diameter"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -323,18 +328,6 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
m_gridTrackWidthList
->
SetColLabelAlignment
(
wxALIGN_CENTRE
,
wxALIGN_CENTRE
);
// Rows
m_gridTrackWidthList
->
SetRowSize
(
0
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
1
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
2
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
3
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
4
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
5
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
6
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
7
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
8
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
9
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
10
,
17
);
m_gridTrackWidthList
->
SetRowSize
(
11
,
17
);
m_gridTrackWidthList
->
EnableDragRowSize
(
true
);
m_gridTrackWidthList
->
SetRowLabelSize
(
80
);
m_gridTrackWidthList
->
SetRowLabelValue
(
0
,
_
(
"Track 1"
)
);
...
...
pcbnew/dialogs/dialog_design_rules_base.fbp
View file @
b992feea
...
...
@@ -3256,7 +3256,7 @@
<property
name=
"row_label_size"
>
80
</property>
<property
name=
"row_label_values"
>
"
Track 1
"
"
Track 2
"
"
Track 3
"
"
Track 4
"
"
Track 5
"
"
Track 6
"
"
Track 7
"
"
Track 8
"
"
Track 9
"
"
Track 10
"
"
Track 11
"
"
Track 12
"
</property>
<property
name=
"row_label_vert_alignment"
>
wxALIGN_CENTRE
</property>
<property
name=
"row_sizes"
>
17,17,17,17,17,17,17,17,17,17,17,17
</property>
<property
name=
"row_sizes"
></property>
<property
name=
"rows"
>
12
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
...
...
pcbnew/dialogs/dialog_design_rules_base.h
View file @
b992feea
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10
2012)
// C++ code generated with wxFormBuilder (version
Oct 8
2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -11,7 +11,9 @@
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include "dialog_design_rules_aux_helper_class.h"
class
DIALOG_SHIM
;
class
NETS_LIST_CTRL
;
#include "dialog_shim.h"
#include <wx/colour.h>
#include <wx/settings.h>
...
...
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