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
c85d64ae
Commit
c85d64ae
authored
Oct 17, 2014
by
Mark Roszko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix hotkey editor on Windows not using max height of the dialog for the list control.
Set wxNO_BORDER for the tab page.
parent
606f2e91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dialog_hotkeys_editor.cpp
common/dialogs/dialog_hotkeys_editor.cpp
+4
-2
No files found.
common/dialogs/dialog_hotkeys_editor.cpp
View file @
c85d64ae
...
@@ -216,7 +216,7 @@ HOTKEY_SECTION_PAGE::HOTKEY_SECTION_PAGE( HOTKEYS_EDITOR_DIALOG* aDialog,
...
@@ -216,7 +216,7 @@ HOTKEY_SECTION_PAGE::HOTKEY_SECTION_PAGE( HOTKEYS_EDITOR_DIALOG* aDialog,
const
wxString
&
aTitle
,
const
wxString
&
aTitle
,
EDA_HOTKEY_CONFIG
*
aSection
)
:
EDA_HOTKEY_CONFIG
*
aSection
)
:
wxPanel
(
aParent
,
-
1
,
wxDefaultPosition
,
wxDefaultSize
,
wxPanel
(
aParent
,
-
1
,
wxDefaultPosition
,
wxDefaultSize
,
wxTAB_TRAVERSAL
|
wx
BORDER_SUNKEN
),
wxTAB_TRAVERSAL
|
wx
NO_BORDER
),
m_hotkeySection
(
aSection
),
m_hotkeySection
(
aSection
),
m_dialog
(
aDialog
)
m_dialog
(
aDialog
)
{
{
...
@@ -224,7 +224,9 @@ HOTKEY_SECTION_PAGE::HOTKEY_SECTION_PAGE( HOTKEYS_EDITOR_DIALOG* aDialog,
...
@@ -224,7 +224,9 @@ HOTKEY_SECTION_PAGE::HOTKEY_SECTION_PAGE( HOTKEYS_EDITOR_DIALOG* aDialog,
wxBoxSizer
*
bMainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
bMainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
this
->
SetSizer
(
bMainSizer
);
SetSizer
(
bMainSizer
);
Layout
();
bMainSizer
->
Fit
(
this
);
m_hotkeyList
=
new
HOTKEY_LIST_CTRL
(
this
,
aSection
);
m_hotkeyList
=
new
HOTKEY_LIST_CTRL
(
this
,
aSection
);
bMainSizer
->
Add
(
m_hotkeyList
,
1
,
wxALL
|
wxEXPAND
,
5
);
bMainSizer
->
Add
(
m_hotkeyList
,
1
,
wxALL
|
wxEXPAND
,
5
);
...
...
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