EXT-2703: tex preview bug ui/buttons weren't visible or would appear off floater
parent
0e72948943
commit
4964ca39f1
|
|
@ -422,8 +422,8 @@ void LLPreviewTexture::updateDimensions()
|
|||
if (mShowKeepDiscard || mCopyToInv) { //mCopyToInvBtn
|
||||
|
||||
// add space for buttons
|
||||
view_height += BTN_HEIGHT + CLIENT_RECT_VPAD;
|
||||
button_height = BTN_HEIGHT + PREVIEW_PAD;
|
||||
view_height += (BTN_HEIGHT + CLIENT_RECT_VPAD) * 3;
|
||||
button_height = (BTN_HEIGHT + PREVIEW_PAD) * 3;
|
||||
}
|
||||
|
||||
view_width = llmax(view_width, getMinWidth());
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
auto_tile="true"
|
||||
can_resize="true"
|
||||
follows="left|top"
|
||||
height="313"
|
||||
height="350"
|
||||
layout="topleft"
|
||||
min_height="120"
|
||||
min_width="320"
|
||||
min_height="200"
|
||||
min_width="370"
|
||||
name="preview_texture"
|
||||
help_topic="preview_texture"
|
||||
width="320">
|
||||
width="370">
|
||||
<floater.string
|
||||
name="Title">
|
||||
Texture: [NAME]
|
||||
|
|
|
|||
Loading…
Reference in New Issue