summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-25 23:08:38 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-25 23:08:38 +0200
commitdd656390c3b6cbdfc6e88c8ff3e6a011238b6f6e (patch)
tree96a918a5f4bc07f445d122a63bb8f56314359cef /indra/newview/skins/default/xui
parent2b56570c6867dc39aa4c8a19d2657ffed6c596b2 (diff)
SL-19108 Only permit 64 to 256 px images for thumbnails
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml9
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml11
2 files changed, 16 insertions, 4 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
index 95e868a696..f3f8ee0daa 100644
--- a/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
+++ b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
@@ -44,14 +44,15 @@
top="4"
width="16" />
<text
- follows="left|top|right"
+ name="item_name"
font="SansSerif"
- height="19"
+ max_length_bytes="127"
+ use_ellipses="true"
+ follows="left|top|right"
layout="topleft"
+ height="19"
top_delta="1"
left_pad="3"
- max_length_bytes="127"
- name="item_name"
width="286"/>
<thumbnail
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index ceae31967e..d2d3cb4523 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -6110,6 +6110,17 @@ Are you sure you want to delete them?
</notification>
<notification
+ icon="alertmodal.tga"
+ name="ThumbnailDimantionsLimit"
+ type="alertmodal">
+ <unique/>
+ Only square images from 64 to 256 pixels per side are allowed.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
icon="alertmodal.tga"
name="ConfirmUnlink"
type="alertmodal">