Thread: Strange issue with scrolling
-
November 16th, 2014, 16:49 #1
- Join Date
- Sep 2014
- Location
- Michigan
- Posts
- 65
Strange issue with scrolling
Hey all, I have just discovered a strange issue with the display of classes in my customized rules modules, and I cannot seem to figure out what is going on here. I have modified the standard basic rules module in such a way that the basic description text has been broken out separately from the text description, but when I open these pages from within FG the entry's scrollbar will not let me scroll to the bottom of the text.
Here is a sample of the data in my module, this entry is the entry for the Barbarian class:
Code:<barbarian> <name type="string">Barbarian</name> <description type="formattedtext"> ... Text omitted for brevity </description> <features type="formattedtext"> <table> ... Table Data omitted for brevity </table> ... Text omitted for brevity </features> <source type="string"> Players Handbook I, page 24 </source> </barbarian>
Code:<windowclass name="referenceclasswide"> <frame>referencepage</frame> <placement> <size width="650" height="650" /> </placement> <sharable /> <sizelimits> <minimum width="650" height="650" /> <dynamic /> </sizelimits> <minimize>minimized_reference</minimize> <tooltip field="name" /> <nodelete /> <sheetdata> <sub_ref_header name="header"> <class>ref_class_header</class> </sub_ref_header> <frame_ref_content /> <sub_ref_content name="content"> <class>ref_class_content</class> </sub_ref_content> <scrollbar_ref_content /> <resize_referencepage /> <close_referencepage /> </sheetdata> </windowclass>
Code:<windowclass name="ref_class_content"> <tooltip field="name" /> <nodelete /> <sheetdata> <anchor_column name="columnanchor" /> <simpleft name="description"> <anchored> <top parent="columnanchor" anchor="bottom" relation="relative" offset="7" /> <left /> </anchored> <readonly /> </simpleft> <simpleft name="features"> <anchored> <top parent="columnanchor" anchor="bottom" relation="relative" offset="7" /> <left /> </anchored> <readonly /> </simpleft> <simplestring name="source"> <anchored> <top parent="columnanchor" anchor="bottom" relation="relative" offset="7" /> <left /> </anchored> <readonly /> </simplestring> </sheetdata> </windowclass>
I have also discovered that if I mess with the size of the window a bit it is possible to get the scrolling working a bit better and eventually I can indeed scroll the data to the bottom. I have even tried combining the description and features secitons into a single formattedtext section in the module data, but I still experience the same strange scrolling issue. Any help would be appreciated, as my players have been having a lot of trouble reading some of my class entries, and I want to make this a bit easier on them for when they are working on their characters. Thank you in advance for any advice on fixing this bug.
-
November 16th, 2014, 19:10 #2
- Join Date
- Sep 2014
- Location
- Michigan
- Posts
- 65
After messing around with this for several hours I finally figured out that if I modified the anchor tags for my simpleft and simplestring controls by adding a right anchor, everything seems to display correctly. The new anchor looks like this:
Code:<anchored> <top parent="columnanchor" anchor="bottom" relation="relative" offset="7" /> <left /> <right /> </anchored>
-
November 16th, 2014, 21:50 #3
Good work DMFirmy.... can be frustrating coding this stuff.... sometimes what should be simple things elude us for ages.
-
November 16th, 2014, 22:44 #4
- Join Date
- Sep 2014
- Location
- Michigan
- Posts
- 65
Ain't it the truth though? I have found that proper positioning has been one of the most difficult aspects of working with customizing my FG ruleset. Slowly but surely I am getting more and more of a handle on things, but this is indeed a complicated piece of software and it is slow going. I also only have a few free hours per week, and I have to divide that time up between my interests, so I don't spend as much time as I would like learning more.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks