PDA

View Full Version : Couple more questions...



cychow
September 29th, 2015, 04:51
Sorry, the search is hard to use with so much history in the forums.

1. Line breaks, is there a way to do that yet without having to go into the XML or use Par5e? This is important for like multiple paragraphs with in a chat box.

2. Is there formating for a "Non-Chat Bubble" dialog box? The chat bubble next to the "chat dialog box" is a little annoying to have and I don't use the chat box for dialog as my online games are down through video conferencing. Something that is a box and maybe light yellow as the background and that's it kinda thing

3. Is there a way to make your category tabs the same color?? I can't seem to assign them the same colors.

Thanks
Chung

Trenloe
September 29th, 2015, 05:09
1) You can't do multiple paragraphs within a single chat box. Do a chat box per paragraph.

2) Not sure what you're looking for here. As you don't use the chat window for showing data are you just referring to some way of formatting the text? These are your options for text formatting: https://www.fantasygrounds.com/wiki/index.php/The_Basics#Formatted_Text_Fields

3) See "Change Tab Color" here: https://www.fantasygrounds.com/wiki/index.php/Campaign_Data#Categories

cychow
September 29th, 2015, 05:41
OK thanks on #1. I'll just type in [LINEBREAK] and do a search and replace with #13;#13; in the XML.

For the chat frame is what I mean. Instead of showing the box with the chat bubble, I want to get rid of that bubble icon.

Nevermind about #3. I must be going crazy. It's working fine now.

Trenloe
September 29th, 2015, 06:08
For the chat frame is what I mean. Instead of showing the box with the chat bubble, I want to get rid of that bubble icon.
You'd need to write a little extension that changes the story entry formattedtextcontrol XML property. See the <icon> - <chat> property in the "Definition" section here: https://www.fantasygrounds.com/refdoc/formattedtextcontrol.xcp

This is contained in the "ft_record" template in the CoreRPG ruleset: \common\template_records.xml file:


<template name="ft_record">
<formattedtextfield>
<font normal="reference-r" bold="reference-b" italic="reference-i" bolditalic="reference-bi" title="reference-h" />
<icon link="button_link" emptylink="button_link_empty" chat="button_speak" />
<footer>footer_narrow</footer>
</formattedtextfield>
</template>

Trenloe
September 29th, 2015, 06:26
Attached is a quick extension that changes the chat icon. You need to have something there (you could use a blank image).

I've just used a simple 10x10 list icon as an example:

https://dl.dropboxusercontent.com/u/39085830/Screenshots/Fantasy%20Grounds/Chat%20Bubble%20Icon.jpg

cychow
September 29th, 2015, 06:45
Oh wow thanks, you didn't need to go and spend time to do it. I probably could have figured it out. But thanks never the less!

You're awesome!
Chung

cychow
September 29th, 2015, 06:50
AH I see. you HAVE to have something there. I was hoping it can just be taken out and not have the box indented. Thanks though!