Thread: scrolling
-
April 16th, 2026, 19:33 #1
scrolling
I'm trying to create some kind of window inside my main UI. I want the inner window to be fairly large, and to be scrollable and/or dragable as needed.
I don't need anything fancy.
I've tried several approaches, but nothing has worked so far.
Can anyone point me to an example? Thanks!DISCORD / EXTENSIONS:
Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
Puzzles: Cryptex, Volvelle, Word Key
-
April 16th, 2026, 20:09 #2
What's wrong with just creating a window via a windowclass? Default behavior will be draggable, resizable, and maybe? scrollable if the contents grow.
<windowclass name="NewWindow">
<placement>
<size height="300" width="300" />
</placement>
<sheetdata />
</windowclass>
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
April 16th, 2026, 21:55 #3
Only certain controls support scrolling - which will be using the mousewheel, unless a scrollbarcontrol is attached - see info here: https://fantasygroundsunity.atlassia...rollbarcontrol
For examples, unzip CoreRPG (not in the rulesets directory) and do a find in files for scrollFG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 17th, 2026, 21:34 #4
I can get vertical scrolling to work. The mouse-wheel scrolls automatically.
If I add scrollbar_list controls, the vertical scroll bar shows up.
No luck with horizontal yet.
Code:<scrollbar_list> <anchored to="content" /> <target>content</target> </scrollbar_list> <scrollbar_list> <anchored to="content" /> <target>content</target> <horizontal /> </scrollbar_list>
DISCORD / EXTENSIONS:
Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
Puzzles: Cryptex, Volvelle, Word Key
-
April 17th, 2026, 21:42 #5
As indicated in the scrollbarcontrol API page I linked: "A scrollbarcontrol creates a vertical scrollbar control." There is no <horizontal/> option in the Definition section of that page.
Only an image control can "pan" (move horizontally and vertically) as detailed here: https://fantasygroundsunity.atlassia...crollercontrolFG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 17th, 2026, 22:05 #6
Ah, okay, thanks.
I don't think I want to go that route at the moment. Currently, they can resize the window so it's large enough for my needs; that should be fine for now.DISCORD / EXTENSIONS:
Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
Puzzles: Cryptex, Volvelle, Word Key
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)

Reply With Quote

Bookmarks