[erlang-patches] simple fix to ET contents viewer on Windows 2008

Henrik Nord <>
Mon Mar 21 11:49:32 CET 2011


On 03/18/2011 08:23 PM,  wrote:
> Using R14B02 on Windows 2008 64-bit,  I saw that ET contents viewer window was not displayed correctly when first opened.  A simple fix is to force the size of the TextCtrl inside the frame:
>
> *** c:/eddc-0.3/src/et_wx_contents_viewer.erl      2011-03-18 10:19:57.002512400 -0400
> --- c:/erl5.8.3/lib/et-1.4.2/src/et_wx_contents_viewer.erl  2011-03-14 16:29:18.000000000 -0400
> ***************
> *** 463,470 ****
>        Bar = wxMenuBar:new(),
>        wxFrame:setMenuBar(Frame,Bar),
>        create_file_menu(Bar),
> !     Editor = wxTextCtrl:new(Panel, ?wxID_ANY, [{size,{W,H}},
> !                                                                  {style, 0
>                                                                          bor  ?wxDEFAULT
>                                                                          bor ?wxTE_MULTILINE
>                                                                          bor ?wxTE_READONLY
> --- 463,469 ----
>        Bar = wxMenuBar:new(),
>        wxFrame:setMenuBar(Frame,Bar),
>        create_file_menu(Bar),
> !     Editor = wxTextCtrl:new(Panel, ?wxID_ANY, [{style, 0
>                                                                          bor  ?wxDEFAULT
>                                                                          bor ?wxTE_MULTILINE
>                                                                          bor ?wxTE_READONLY
>
>
> ---
> N'allez pas où le chemin peut mener, allez là où il n'y a pas de chemin et laissez une trace.
> Ralph Waldo Emerson
> ---
> Luc Tanguay, ing./Eng.
> Bell Canada
> 671 De La Gauchetière 4e étage,
> Montréal H3B 2M8
> 514-786-6440
> cell: 514-229-7585
>
>
>    
Hello

It would be appreciated if you could submit this as a proper patch.
  Please refer to The wiki 
<https://github.com/erlang/otp/wiki/Submitting-patches> on how to submit 
patches

Thank you

/Henrik Nord, Erlang/OTP


More information about the erlang-patches mailing list