From 5c6fd30b4efb15213ceca01714ab3b0b0656db66 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@c-s.fr> Date: Mon, 19 Feb 2007 12:58:37 +0000 Subject: [PATCH] Viewer, version quasi-finale. --- Code/Visu/otbImageViewer.txx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Code/Visu/otbImageViewer.txx b/Code/Visu/otbImageViewer.txx index 8dac2a46f7..676e297386 100644 --- a/Code/Visu/otbImageViewer.txx +++ b/Code/Visu/otbImageViewer.txx @@ -181,7 +181,7 @@ namespace otb m_ImageGeometry = static_cast<double>(size[0])/static_cast<double>(size[1]); // initiate windows dimensions - int wscroll=0; + int wscroll=200; int hscroll=0; int wfull = (size[0]<m_FullMaxInitialSize ? size[0] : m_FullMaxInitialSize); int hfull = (size[1]<m_FullMaxInitialSize ? size[1] : m_FullMaxInitialSize); @@ -335,9 +335,10 @@ namespace otb m_ScrollWidget->SetMinComponentValues(m_MinComponentValue); m_ScrollWidget->SetMaxComponentValues(m_MaxComponentValue); } - - m_PixLocWindow= new Fl_Window(wfull+15,hscroll+50,wscroll,20,"Pixel location & values"); - m_PixLocOutput = new Fl_Output(0,0,wscroll,20,"Pixel location & values"); + + + m_PixLocWindow= new Fl_Window(wfull+15,hscroll+50,wscroll,20,"Pixel location & values"); + m_PixLocOutput = new Fl_Output(0,0,wscroll,20,"Pixel location & values"); m_PixLocWindow->resizable(m_PixLocOutput); m_PixLocOutput->textsize(10); m_PixLocOutput->box(FL_EMBOSSED_BOX ); -- GitLab