source: trunk/game/gui/dialogue.xml @ 683

Revision 415, 746 bytes checked in by eliedebrauwer, 10 years ago (diff)

Ticket #198: Patch by eliedebrauwer. Now reads the NPC name and uses this in the dialogue window as name. And left under the portrait. At this point a newline gets added after the first word, so the name/description shouldn't contains pages of text. fixes[s:trac, t:198]

  • Property svn:eol-style set to native
1<Window title="Dialogue" position_technique="center:center" min_size="500,400">
2    <HBox>
3        <VBox>
4            <Icon name="npc_avatar" size="200,200" />
5            <Label name="stats_label" />
6        </VBox>
7        <ScrollArea size="400,200" min_size="400,200">
8            <Label name="speech" wrap_text="1" max_size="360,500000" text="hi"/>
9        </ScrollArea>
10    </HBox>
11    <ScrollArea min_size="100,100" horizontal_scrollbar="0">
12        <VBox name="choices_list" hexpand="1" margins="0,0"
13            foreground_color="255,255,0">
14            <Label text="dummy label" />
15        </VBox>
16    </ScrollArea>
17    <Button name="end_button" border_size="0" base_color="128,0,0" text="End Conversation" min_size="250,10"/>
Note: See TracBrowser for help on using the repository browser.