Author Topic: Increase text size issue  (Read 622 times)

Apnew

  • Traveller
  • *
  • Posts: 20
  • OOOoooooOOO CatNip...Meow!
    • View Profile
Increase text size issue
« on: November 17, 2008, 10:11:18 am »
I am trying to enlarge the font in the quest log. I have been able to increase the Notation section. However there does not seem to be a way to enlarge the Quest lists nor the quest description.
Any suggestions would be appreciated. thank you.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Increase text size issue
« Reply #1 on: November 18, 2008, 10:39:33 am »
you need to add
Code: [Select]
<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />with the size you want to each of the pawslistboxes under the line that has the id= part you might also have to edit column height

the quest desciption seems to show up in the
Code: [Select]
<widget name="Description" factory="pawsMessageTextBox" style="label">
you can just increase the font size in that section

you can try this and see if it works this has _not_ been tested
Code: [Select]
<widget_description>


    <widget name="QuestNotebook" factory="pawsQuestListWindow" style="topwindow" visible="no">


    <frame x="100" y="100" width="550" height="400" />

    <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />

    <title text="Quest & Events Notebook"/>

    <bgimage resource="Quests Background" alpha="128" />



    <widget name="" factory="pawsTextBox" style="header">

        <frame x="40" y="12" width="135" />

        <text string="List:" />

    </widget>



    <widget name="QuestTabs" factory="pawsTabWindow">

        <frame x="5" y="3" width="250" height="250" border="no" />

        <widget name="UncompletedButton" factory="pawsButton" style="button" id="1000">

            <frame x="17" y="190" />

            <label text="Uncompleted" />

        </widget>   

        <widget name="CompletedButton" factory="pawsButton" style="button" id="1001" >

            <frame x="106" y="190" />

            <label text="Completed" />

        </widget>   



        <widget name="EventLists" factory="pawsButton" style="button" id="1300">

            <frame x="106" y="3" />

            <label text="Events" />

        </widget>



        <widget name="UncompletedQuestList" factory="pawsListBox" style="textinput" xmlbinding="quests" id="1100">
<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="12" />

            <frame x="16" y="27" width="186" height="161" />

            <highlight resource="Hightlight" alpha="128" />

            <columns height="30" headings="no" xmlbinding="q" >

            <column width="130" xmlbinding="desc" >

                <widget name="Name" factory="pawsTextBox" style="label">

                </widget>

            </column>

            <column width="0" xmlbinding="id">

                <widget name="ID" factory="pawsTextBox" visible="no"></widget>

            </column>

            <column width="0" xmlbinding="status">

                <widget name="Status" factory="pawsTextBox" visible="no"></widget>

            </column>

            </columns>

        </widget>



        <widget name="CompletedQuestList" factory="pawsListBox" style="textinput" xmlbinding="quests" id="1101">
<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="12" />

            <frame x="16" y="27" width="186" height="161" />

            <highlight resource="Hightlight" alpha="128" />

            <columns height="30" headings="no" xmlbinding="q" >

            <column width="170" xmlbinding="desc" >

                <widget name="Name" factory="pawsTextBox" style="label">

                </widget>

            </column>

            <column width="0" xmlbinding="id">

                <widget name="ID" factory="pawsTextBox" visible="no"></widget>

            </column>

            <column width="0" xmlbinding="status">

                <widget name="Status" factory="pawsTextBox" visible="no"></widget>

            </column>

            </columns>

        </widget>

    </widget>



    <widget name="EventTabs" factory="pawsTabWindow">

        <frame x="5" y="3" width="250" height="250" border="no" />

        <widget name="UncompletedButton" factory="pawsButton" style="button" id="1000">

            <frame x="17" y="190" />

            <label text="Uncompleted" />

        </widget>   

        <widget name="CompletedButton" factory="pawsButton" style="button" id="1001" >

            <frame x="106" y="190" />

            <label text="Completed" />

        </widget>   



        <widget name="QuestLists" factory="pawsButton" style="button" id="1300">

            <frame x="106" y="3" />

            <label text="Quests" />

        </widget>



        <widget name="UncompletedEventList" factory="pawsListBox" style="textinput" xmlbinding="gmevents" id="1100">
<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="12" />

            <frame x="16" y="27" width="186" height="161" />

            <highlight resource="Hightlight" alpha="128" />

            <columns height="30" headings="no" xmlbinding="event" >

            <column width="130" xmlbinding="name" >

                <widget name="Name" factory="pawsTextBox" style="label"></widget>

            </column>

            <column width="7" xmlbinding="role" >

                <widget name="Role" factory="pawsTextBox" visible="yes"></widget>

            </column>

            <column width="0" xmlbinding="id">

                <widget name="ID" factory="pawsTextBox" visible="no"></widget>

            </column>

            <column width="0" xmlbinding="status">

                <widget name="Status" factory="pawsTextBox" visible="no"></widget>

            </column>

            </columns>

        </widget>



        <widget name="CompletedEventList" factory="pawsListBox" style="textinput" xmlbinding="gmevents" id="1101">
<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="12" />

            <frame x="16" y="27" width="186" height="161" />

            <highlight resource="Hightlight" alpha="128" />

            <columns height="30" headings="no" xmlbinding="event" >

            <column width="130" xmlbinding="name" >

                <widget name="Name" factory="pawsTextBox" style="label"></widget>

            </column>

            <column width="7" xmlbinding="role" >

                <widget name="Role" factory="pawsTextBox" visible="yes"></widget>

            </column>

            <column width="0" xmlbinding="id">

                <widget name="ID" factory="pawsTextBox" visible="no"></widget>

            </column>

            <column width="0" xmlbinding="status">

                <widget name="Status" factory="pawsTextBox" visible="no"></widget>

            </column>

            </columns>

        </widget>

    </widget>



    <widget name="Discard" factory="pawsButton" id="1201"  style="button" >

        <frame x="300" y="195" width="80"/>

        <label text="Discard"/>

<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />

    </widget>





    <widget name="" factory="pawsTextBox" style="header">

        <frame x="267" y="14" width="135" />

        <text string="Description:" />

    </widget>

    <widget name="Description" factory="pawsMessageTextBox" style="label">

        <frame x="256" y="37" width="280" height="161"/>

        <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="12" />

    </widget>



    <widget name="" factory="pawsTextBox" style="header">

        <frame x="50" y="235" width="100" />

        <text string="Your notes:" />

    </widget>

    <widget name="Notes" factory="pawsMultilineEditTextBox" style="textinput">

        <frame x="30" y="255" width="490" height="100" />

<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />

    </widget>



    <widget name="SaveButton" factory="pawsButton"  style="button" id="1203">

        <frame x="22" y="370"/>

<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />

        <label text="Save" />

    </widget>

    <widget name="CancelButton" factory="pawsButton" style="button" id="1204">

        <frame x="111" y="370"/>

<font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" />

        <label text="Reload" />

    </widget>



    </widget>



</widget_description>


This also applies to any font size change or color

Apnew

  • Traveller
  • *
  • Posts: 20
  • OOOoooooOOO CatNip...Meow!
    • View Profile
Re: Increase text size issue
« Reply #2 on: November 18, 2008, 01:28:53 pm »
thank you :)