CHUI-747: Script buttons in a toast overlap message text. Problem was due to the message container not being shifted upward when buttons were added to the control buttons container (which is beneath the message container). A small change in CHUI-695 caused this.
parent
29a57c16c9
commit
a034c272c3
|
|
@ -403,6 +403,9 @@ void LLToastNotifyPanel::init( LLRect rect, bool show_images )
|
|||
}
|
||||
}
|
||||
|
||||
//.xml file intially makes info panel only follow left/right/top. This is so that when control buttons are added the info panel
|
||||
//can shift upward making room for the buttons inside mControlPanel. After the buttons are added, the info panel can then be set to follow 'all'.
|
||||
mInfoPanel->setFollowsAll();
|
||||
snapToMessageHeight(mTextBox, MAX_LENGTH);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
background_visible="true"
|
||||
bg_alpha_color="ToastBackground"
|
||||
bg_opaque_color="ToastBackground"
|
||||
follows="all"
|
||||
follows="left|right|top"
|
||||
height="100"
|
||||
label="info_panel"
|
||||
layout="topleft"
|
||||
|
|
|
|||
Loading…
Reference in New Issue