diff options
3 files changed, 88 insertions, 94 deletions
| diff --git a/indra/newview/skins/default/xui/en/floater_twitter.xml b/indra/newview/skins/default/xui/en/floater_twitter.xml index aa5bfce2e9..3e1a91e58d 100644 --- a/indra/newview/skins/default/xui/en/floater_twitter.xml +++ b/indra/newview/skins/default/xui/en/floater_twitter.xml @@ -10,21 +10,13 @@    single_instance="true"    reuse_instance="true"    title="TWITTER" -  height="502" -  width="304"> -  <panel -   height="502" -   width="304" -   visible="true" -   name="background" -   follows="all" -   top="0" -   left="0"> +  height="462" +  width="272">     <tab_container       name="tabs"       tab_group="1"       tab_min_width="70" -     tab_height="30" +     tab_height="21"       tab_position="top"       top="7"       height="457" @@ -43,17 +35,13 @@         label="ACCOUNT"         name="panel_twitter_account"/>           </tab_container> -    <panel -     name="connection_status_panel" -     follows="left|bottom|right" -     height="24">       <text        name="connection_error_text"        type="string"        follows="left|bottom|right" -      top="5" -      left="9" -      width="250" +      bottom="-5" +      left="10" +      width="252"        height="20"        wrap="true"        halign="left" @@ -67,16 +55,16 @@        height="24"        width="24"        name="connection_loading_indicator" -      top="2" -      left="9" +      top_delta="-2" +      left="10"        visible="true"/>       <text        name="connection_loading_text"        type="string"        follows="left|bottom|right" -      top="5" +      top_delta="2"        left_pad="5" -      width="250" +      width="223"        height="20"        wrap="true"        halign="left" @@ -85,6 +73,4 @@        font="SansSerif">        Loading...      </text> -  </panel> - </panel>  </floater> diff --git a/indra/newview/skins/default/xui/en/panel_twitter_account.xml b/indra/newview/skins/default/xui/en/panel_twitter_account.xml index ee4f6396e1..b9049a0bba 100644 --- a/indra/newview/skins/default/xui/en/panel_twitter_account.xml +++ b/indra/newview/skins/default/xui/en/panel_twitter_account.xml @@ -1,6 +1,6 @@  <panel  	 height="400" -	 width="304" +	 width="272"  	 layout="topleft"     name="panel_twitter_account">    <string @@ -15,9 +15,9 @@     follows="top|left"     font="SansSerif"     height="16" -   left="9" +   left="10"     name="account_caption_label" -   top="21" +   top="5"     type="string">      Not connected to Twitter.    </text> @@ -28,19 +28,23 @@     follows="top|left"     font="SansSerif"     height="16" -   left="9" +   left="10"     name="account_name_label"     parse_urls="true"     type="string"/>    <panel      layout="topleft" +	follows="top|left"      name="panel_buttons"      height="345" -    left="9"> +	top_pad="3" +    left="0">      <button       layout="topleft" -     follows="left|top" +     follows="left|top|right"       top_pad="9" +	 left="10" +	 right="-10"       visible="true"       height="23"       label="Connect..." @@ -51,8 +55,10 @@      <button       layout="topleft" -     follows="left|top" +     follows="left|top|right"       top_delta="0" +	 left="10" +	 right="-10"       height="23"       label="Disconnect"       name="disconnect_btn" @@ -65,9 +71,9 @@        length="1"        follows="top|left"        height="16" -      left="0" +      left="10"        name="account_learn_more_label" -      top_pad="20" +      top_pad="5"        type="string">        [http://community.secondlife.com/t5/English-Knowledge-Base/Second-Life-Share-Twitter/ta-p/2435453 Learn about posting to Twitter]      </text> diff --git a/indra/newview/skins/default/xui/en/panel_twitter_photo.xml b/indra/newview/skins/default/xui/en/panel_twitter_photo.xml index c2be56da21..9a460ceead 100644 --- a/indra/newview/skins/default/xui/en/panel_twitter_photo.xml +++ b/indra/newview/skins/default/xui/en/panel_twitter_photo.xml @@ -3,31 +3,22 @@        width="304"        layout="topleft"        name="panel_twitter_photo"> -      <layout_stack -	   layout="topleft" -       border_size="0" -       height="412" -       follows="all" -       orientation="vertical" -       name="stack_photo" -       top="8"> -        <layout_panel -         name="text_panel" -         height="160">            <text             length="1" +		   layout="topleft"             follows="top|left|right"             font="SansSerif"             height="16" -           left="9" +           left="10"             name="status_label" -           top="3" +           top="5"             type="string">              What's happening?            </text>            <text             length="1"             follows="top|left" +		   layout="topleft"             font="SansSerif"             text_color="EmphasisColor"             halign="right" @@ -35,15 +26,16 @@             width="30"             left="227"             name="status_counter_label" -           top="3" +           top="5"             type="string">              140            </text>            <text_editor             follows="left|top" +		   layout="topleft"             height="87"             width="250" -           left="9" +           left="10"             length="1"             max_length="140"             name="photo_status" @@ -52,33 +44,32 @@            </text_editor>            <check_box             follows="left|top" +		   layout="topleft"             initial_value="true"             label="Include SL location"             name="add_location_cb" -            left="9" +            left="10"              height="16" -           top_pad="10"/> +           top_pad="8"/>            <check_box             follows="left|top" +		   layout="topleft"             initial_value="true"             label="Include a photo"             name="add_photo_cb" -            left="9" +            left="10"              height="16" -           top_pad="10"/> -        </layout_panel> -          <layout_panel -           name="snapshot_panel" -           height="227"> +           top_pad="1"/>              <combo_box               control_name="TwitterPhotoResolution"               follows="left|top" -             top="6" -             left="9" +			 layout="topleft" +             top_pad="5" +             left="10"               name="resolution_combobox"               tool_tip="Image resolution"               height="21" -             width="135"> +             width="124">                <combo_box.item                 label="Current Window"                 name="CurrentWindow" @@ -99,61 +90,76 @@                <combo_box                    control_name="TwitterPhotoFilters"                    follows="right|top" +				  layout="topleft"                    name="filters_combobox"                    tool_tip="Image filters" -                  top="6" -                  left="165" +                  top_delta="0" +                  right="-10"                    height="21" -                  width="135"> +                  width="124">                    <combo_box.item                    label="No Filter"                    name="NoFilter"                    value="NoFilter" />                </combo_box>              <panel +				layout="topleft"                  height="150"                  width="250"                  visible="true"                  name="thumbnail_placeholder" -                top="33" -                follows="left|top" -                left="9"> +                top_pad="5" +				right="-10" +                follows="left|top|right" +                left="10">              </panel> -            <button -             follows="left|top" -             height="23" -             label="Refresh" -             left="9" -             top_pad="5" -             name="new_snapshot_btn" -             tool_tip="Click to refresh" -             visible="true" -             width="100" > -             <button.commit_callback -               function="SocialSharing.RefreshPhoto" /> -            </button> -            <text +			<text                  follows="left|top" +				layout="topleft"                  font="SansSerif"                  text_color="EmphasisColor"                  height="14" -                top_pad="-19" -                left_pad="-30" +                top_pad="2" +                left="10"                  length="1"                  halign="center"                  name="working_lbl"                  translate="false"                  type="string"                  visible="true" -                width="150"> +                width="251">                  Refreshing...              </text> +			<view_border  +			 bevel_style="in" +			 follows="left|top" +			 layout="topleft" +			 height="1" +			 left="10" +			 name="refresh_border" +			 width="250" +			 top_pad="0"/> +            <button +             follows="left|top" +			 layout="topleft" +             height="23" +             label="Refresh" +             left="10" +             top_pad="5" +             name="new_snapshot_btn" +             tool_tip="Click to refresh" +             visible="true" +             width="100" > +             <button.commit_callback +               function="SocialSharing.RefreshPhoto" /> +            </button>                <button                    follows="right|top" +				  layout="topleft"                    height="23"                    label="Preview" -                  left="200" -                  top_pad="-19" +                  right="-10" +                  top_delta="0"                    name="big_preview_btn"                    tool_tip="Click to toggle preview"                    is_toggle="true" @@ -162,14 +168,11 @@                    <button.commit_callback                    function="SocialSharing.BigPreview" />                </button> -        </layout_panel> -        <layout_panel -          name="photo_button_panel" -          height="25">            <button             follows="left|top" -           top="0" -           left="9" +		   layout="topleft" +           top_pad="3" +           left="10"             height="23"             label="Tweet"             name="post_photo_btn" @@ -178,16 +181,15 @@               function="SocialSharing.SendPhoto" />            </button>            <button -               follows="left|top" +               follows="right|top" +			   layout="topleft"                 height="23"                 label="Cancel"                 name="cancel_photo_btn" -               left_pad="15" +			   right="-10"                 top_delta="0"                 width="100">              <button.commit_callback               function="SocialSharing.Cancel" />            </button>           -        </layout_panel>         -      </layout_stack>      </panel> | 
