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
1d683046
Commit
1d683046
authored
Jan 18, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
layer combobox width change
parent
100c2ec5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
23 deletions
+34
-23
tool_pcb.cpp
pcbnew/tool_pcb.cpp
+34
-23
No files found.
pcbnew/tool_pcb.cpp
View file @
1d683046
...
@@ -618,8 +618,19 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
...
@@ -618,8 +618,19 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
{
{
if
(
parent
==
NULL
)
if
(
parent
==
NULL
)
return
NULL
;
return
NULL
;
m_SelLayerBox
=
new
WinEDAChoiceBox
(
parent
,
ID_TOOLBARH_PCB_SELECT_LAYER
,
m_SelLayerBox
=
new
WinEDAChoiceBox
(
parent
,
ID_TOOLBARH_PCB_SELECT_LAYER
,
wxPoint
(
-
1
,
-
1
),
wxSize
(
-
1
,
-
1
)
);
wxPoint
(
-
1
,
-
1
),
#if defined(__UNIX__)
// Width enough for the longest string: "Component (Page Down)"
// Maybe that string is too long?
wxSize
(
230
,
-
1
)
#else
wxSize
(
LISTBOX_WIDTH
+
40
,
-
1
)
#endif
);
parent
->
AddControl
(
m_SelLayerBox
);
parent
->
AddControl
(
m_SelLayerBox
);
}
}
...
...
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