Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey all!

 

Working on creating a little interface with a scrollable list (not having the greatest luck, but getting there), and I have come across a two problems I need some help with.

 

Firstly, the files related are located:

https://github.com/countnoobula/AlchemyTrader/blob/master/src/com/nightfallstudios/alchemytrader/gui/GuiSlotExchange.java

https://github.com/countnoobula/AlchemyTrader/blob/master/src/com/nightfallstudios/alchemytrader/gui/GuiExchangeTable.java

 

My first problem is that the drawSlot function is not being called.

I am not too sure why, I have the drawScreen called, and have the size as 1. Any insight much appreciated?

 

My second problem is that I seem to be failing at aligning it to where I want, whenever I open the GUI, in the background, there is a dark area on the left (the scrollbar background?) and I need it to be shrunk and aligned into the available box here: https://github.com/countnoobula/AlchemyTrader/blob/master/assets/alchemytrader/textures/gui/exchange_table.png

Any advice much appreciated on that aswell!

 

I really hope you guys can help :)

  • Author

Solved! :D

Well, mostly. New problems now :/

Anyway, the reason it wasn't being called is because my top and bottom were incorrectly set :/

It's rendering now. Although behind the main hud now :/

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.