From a98c2415dfebfc20a6739903e4887e2fb567d968 Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Thu, 9 Apr 2009 18:23:28 +0000 Subject: [PATCH] expand the size of the coordinate holding status fields, 2 and 3 --- common/drawframe.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/drawframe.cpp b/common/drawframe.cpp index 63725e4f7f..02d2248ff0 100644 --- a/common/drawframe.cpp +++ b/common/drawframe.cpp @@ -79,10 +79,11 @@ WinEDA_DrawFrame::WinEDA_DrawFrame( wxWindow* father, int idtype, SetSize( 0, 0, minsize.x, minsize.y ); // Creation de la ligne de status - #define ZOOM_DISPLAY_SIZE 60 - #define COORD_DISPLAY_SIZE 140 - #define UNITS_DISPLAY_SIZE 50 - #define FUNCTION_DISPLAY_SIZE 100 + #define ZOOM_DISPLAY_SIZE 60 + #define COORD_DISPLAY_SIZE 156 + #define UNITS_DISPLAY_SIZE 50 + #define FUNCTION_DISPLAY_SIZE 100 + static const int dims[6] = { -1, ZOOM_DISPLAY_SIZE, COORD_DISPLAY_SIZE, COORD_DISPLAY_SIZE, UNITS_DISPLAY_SIZE, FUNCTION_DISPLAY_SIZE }; @@ -99,6 +100,7 @@ WinEDA_DrawFrame::WinEDA_DrawFrame( wxWindow* father, int idtype, DrawPanel = new WinEDA_DrawPanel( this, -1, wxPoint( 0, 0 ), m_FrameSize ); MsgPanel = new WinEDA_MsgPanel( this, -1, wxPoint( 0, m_FrameSize.y ), wxSize( m_FrameSize.x, m_MsgFrameHeight ) ); + MsgPanel->SetBackgroundColour( wxColour( ColorRefs[LIGHTGRAY].m_Red, ColorRefs[LIGHTGRAY].m_Green, ColorRefs[LIGHTGRAY].m_Blue ) );