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
159d05e3
Commit
159d05e3
authored
Aug 09, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew's bottom-most status windowlets were too small on systems with large fonts
parent
1a97b31d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
drawframe.cpp
common/drawframe.cpp
+10
-5
No files found.
common/drawframe.cpp
View file @
159d05e3
...
@@ -103,13 +103,18 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( wxWindow* father, int idtype, const wxString& ti
...
@@ -103,13 +103,18 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( wxWindow* father, int idtype, const wxString& ti
SetSize
(
0
,
0
,
minsize
.
x
,
minsize
.
y
);
SetSize
(
0
,
0
,
minsize
.
x
,
minsize
.
y
);
// Pane sizes for status bar.
// Pane sizes for status bar.
// @todo these should be sized based on typical text content, like
// "dx -10.123 -10.123 dy -10.123 -10.123" using the system font which is
// in play on a particular platform, and should not be constants.
// Please do not reduce these constant values, and please use dynamic
// system font specific sizing in the future.
#define ZOOM_DISPLAY_SIZE 60
#define ZOOM_DISPLAY_SIZE 60
#define COORD_DISPLAY_SIZE 1
56
#define COORD_DISPLAY_SIZE 1
65
#define
UNITS_DISPLAY_SIZE 5
0
#define
DELTA_DISPLAY_SIZE 19
0
#define
FUNCTION_DISPLAY_SIZE 100
#define
UNITS_DISPLAY_SIZE 65
#define FUNCTION_DISPLAY_SIZE 110
static
const
int
dims
[
6
]
=
{
-
1
,
ZOOM_DISPLAY_SIZE
,
static
const
int
dims
[
6
]
=
{
-
1
,
ZOOM_DISPLAY_SIZE
,
COORD_DISPLAY_SIZE
,
COORD
_DISPLAY_SIZE
,
COORD_DISPLAY_SIZE
,
DELTA
_DISPLAY_SIZE
,
UNITS_DISPLAY_SIZE
,
FUNCTION_DISPLAY_SIZE
};
UNITS_DISPLAY_SIZE
,
FUNCTION_DISPLAY_SIZE
};
CreateStatusBar
(
6
);
CreateStatusBar
(
6
);
...
...
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