Changeset 40

Show
Ignore:
Timestamp:
02/25/02 23:06:24 (7 years ago)
Author:
lking
Message:

Added notebook tabs to layout. Removed buttons.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBPrivate/Prototypes/ChatClient/client.skin

    r35 r40  
    2828            <layout sizerFit='1' sizerOption='1' sizerFlag='wxEXPAND'> 
    2929                <layout sizerOption='1' sizerFlag='wxEXPAND'> 
    30                     <column_list size='(250, 500)' sizerOption='1' sizerFlag='wxEXPAND' columns='"Contact", "Status"' style='wxLC_NO_HEADER' /> 
     30                    <notebook size='(250, 500)' sizerOption='1' sizerFlag='wxEXPAND'> 
     31                        <column_list pagename='Chat' bgcolor='(250, 250, 255)' columns='"Contact", "Status"' style='wxLC_NO_HEADER' /> 
     32                        <column_list pagename='Group Chat' bgcolor='(250, 255, 250)' columns='"Chat Room"' style='wxLC_NO_HEADER' /> 
     33                        <styled_text pagename='System Messages' bgcolor='(255, 250, 250)'> 
     34                            <py:inline> 
     35                                from wxPython.stc import * 
     36                                stc = self.parent().object 
     37                                stc.SetLexer(wxSTC_LEX_PYTHON) 
     38                                stc.SetText(open('client.py').read()) 
     39                                stc.StyleClearAll() 
     40                                stc.StyleSetSpec(wxSTC_P_DEFAULT, 'fore:#000000') 
     41                                stc.StyleSetSpec(wxSTC_P_IDENTIFIER, 'fore:#3333FF') 
     42                            </py:inline> 
     43                        </styled_text> 
     44                    </notebook> 
    3145                </layout> 
    32                 <layout_spacer size='(-1, 2)' /> 
    33                 <layout sizerFlag='wxEXPAND'> 
    34                     <layout_spacer size='(2, -1)' /> 
    35                     <button sizerOption='1' size='(80, -1)' label='Send Message'/> 
    36                     <layout_spacer size='(2, -1)' /> 
    37                     <button sizerOption='1' size='(80, -1)' label='Cancel'/> 
    38                     <layout_spacer size='(2, -1)' /> 
    39                 </layout> 
    40                 <layout_spacer size='(-1, 2)' /> 
    4146            </layout> 
    4247