FIRE-12854: Include a Description column in the Inspect Objects floater; Changing floater's default dateformat from "Wkday M D HⓂ️s Y" to "Y M D, HⓂ️s, Wkday" for easier sorting by creation date
parent
c1c1c4dc7a
commit
f827ace710
|
|
@ -306,6 +306,11 @@ void LLFloaterInspect::refresh()
|
|||
row["columns"][3]["column"] = "creation_date";
|
||||
row["columns"][3]["type"] = "text";
|
||||
row["columns"][3]["value"] = timeStr;
|
||||
// <FS:PP> FIRE-12854: Include a Description column in the Inspect Objects floater
|
||||
row["columns"][4]["column"] = "description";
|
||||
row["columns"][4]["type"] = "text";
|
||||
row["columns"][4]["value"] = obj->mDescription;
|
||||
// </FS:PP>
|
||||
mObjectList->addElement(row, ADD_TOP);
|
||||
}
|
||||
if(selected_index > -1 && mObjectList->getItemIndex(selected_uuid) == selected_index)
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@
|
|||
height="300"
|
||||
layout="topleft"
|
||||
min_height="300"
|
||||
min_width="400"
|
||||
min_width="600"
|
||||
name="inspect"
|
||||
help_topic="inspect"
|
||||
save_rect="true"
|
||||
title="Inspect Objects"
|
||||
width="400">
|
||||
width="600">
|
||||
<floater.string
|
||||
name="timeStamp">
|
||||
[wkday,datetime,local] [mth,datetime,local] [day,datetime,local] [hour,datetime,local]:[min,datetime,local]:[second,datetime,local] [year,datetime,local]
|
||||
[year,datetime,local] [mth,datetime,local] [day,datetime,local], [hour,datetime,local]:[min,datetime,local]:[second,datetime,local], [wkday,datetime,local]
|
||||
</floater.string>
|
||||
<scroll_list
|
||||
bottom="268"
|
||||
|
|
@ -27,20 +27,24 @@
|
|||
tool_tip="Select an object from this list to highlight it in-world"
|
||||
top="20">
|
||||
<scroll_list.columns
|
||||
relative_width="0.30"
|
||||
relative_width="0.20"
|
||||
label="Object Name"
|
||||
name="object_name" />
|
||||
<scroll_list.columns
|
||||
relative_width="0.25"
|
||||
relative_width="0.20"
|
||||
label="Owner Name"
|
||||
name="owner_name" />
|
||||
<scroll_list.columns
|
||||
relative_width="0.25"
|
||||
relative_width="0.20"
|
||||
label="Creator Name"
|
||||
name="creator_name" />
|
||||
<scroll_list.columns
|
||||
label="Creation Date"
|
||||
name="creation_date"
|
||||
relative_width="0.20" />
|
||||
<scroll_list.columns
|
||||
label="Description"
|
||||
name="description"
|
||||
relative_width="0.20" />
|
||||
<scroll_list.commit_callback
|
||||
function="Inspect.SelectObject" />
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<scroll_list.columns label="Właściciel" name="owner_name"/>
|
||||
<scroll_list.columns label="Twórca" name="creator_name"/>
|
||||
<scroll_list.columns label="Utworzony" name="creation_date"/>
|
||||
<scroll_list.columns label="Opis" name="description"/>
|
||||
</scroll_list>
|
||||
<button label="Profil Właściciela..." name="button owner" tool_tip="Zobacz profil Właściciela podświetlonego obiektu"/>
|
||||
<button label="Profil Twórcy..." name="button creator" tool_tip="Zobacz profil Twórcy podświetlonego obiektu"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue