PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Engine → User Interface
  • Assigned To No-one
  • Operating System
  • Severity Medium
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Jon - 06.04.2014
Last edited by Talad - 21.06.2021

FS#6389 - Item windows not wide enough for item descriptions

The names of some looted items are too long for the storage and item description windows.

The storage window is now resizable, but the text line for the item name isn’t long enough. This can be fixed by editing data/gui/storage.xml at line 108 to increase the column width. Setting this to 275 was enough to see the full name of my Ruined Turquoise-encrusted Dermorian Shortbow of Blinding Strike.

Even with this change, if I go to a different category and then come back, the end of the name is cut off again until I resize the window.

     <column width="60" >
         <widget name="Price" factory="pawsTextBox"></widget>
     </column>
     <column width="__275__" >
         <widget name="Name" factory="pawsTextBox"> <!-- This is for formated output -->

Similarly, in the Item Description window, adding 100 to the widths made the window wide enough to show the full name. Edit data/gui/itemdesc.xml and increase the widths where indicated below

    <widget name="ItemDescWindow" factory="pawsItemDescriptionWindow" resizeable="yes" visible="no" 
       savepositions="yes" movable="yes" style="New Standard GUI">
        <frame x="100" y="100" width="__420__" height="200" border="yes"/>

        <title resource="Scaling Title Bar" text="Examine" align="left" close_button="yes"/>

        <widget name="ItemImage" factory="pawsWidget" visible="yes" >
        <frame x="20" y="50" width="48" height="48" border="no"/>
            <bgimage resource="Standard Slot" />
        </widget>

        <widget name="ItemName" factory="pawsTextBox" >
            <frame x="10" y="10" width="__400__" height="22"/>
        </widget>

        <widget name="ItemDescription" factory="pawsMultiLineTextBox" >
            <frame x="85" y="40" width="__325__" height="150" border="no"/>
        </widget>

I thought I saw this posted somewhere else, but I can’t find it now.

Closed by  Talad
21.06.2021 12:21
Reason for closing:  Will not fix

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing