Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: wxPerl behavior on Win32

by solomon243 (Novice)
on Oct 28, 2014 at 19:35 UTC ( [id://1105362]=note: print w/replies, xml ) Need Help??


in reply to Re: wxPerl behavior on Win32
in thread wxPerl behavior on Win32

>>> Why? Please explain

it wasn't pleasant to me that near widgets a background light, and primary color of a frame - dark

and so was only under windows

Replies are listed 'Best First'.
Re^3: wxPerl behavior on Win32
by Anonymous Monk on Oct 28, 2014 at 21:20 UTC

    it wasn't pleasant to me that near widgets a background light, and primary color of a frame - dark

    and so was only under windows

    FWIW, I usually solve that problem by making your "$frame" a wxPanel

    The background ends up being the usual panel light grey of wxSYS_COLOUR_MENU /
    #D4D0C8
    instead of the darker frame/MDI "grey" of wxSYS_COLOUR_APPWORKSPACE
    #D4D0C8

      >> FWIW, I usually solve that problem by making your "$frame" a wxPanel


      this is complete solution!
      my $bigbutton = Wx::Button->new( $frame, 1, 'Вып&#10 +86;лнить расч&# +1077;т', [-1,-1], [-1,-1]); my $mass_label = Wx::StaticText->new($frame, 2, 'Ваш + вес:',[-1,-1], [-1,-1]); my $drink_label = Wx::StaticText->new($frame, 4, 'Пр&#1077 +;дпочитаем&#109 +9;й напиток:',[-1,-1] +, [-1,-1]); my $mass_entry = Wx::TextCtrl->new($frame, 3, '',[-1,-1], [-1,-1]);

      no wxPanel needed! Now my code works equally on all platforms! THX, Anonymous Monk

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1105362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found