Author Topic: Stacking toolbars  (Read 268 times)

0 Members and 1 Guest are viewing this topic.

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 401
Stacking toolbars
« on: February 02, 2021, 06:06:03 PM »
Hello everyone!

So it turns out I made too many deco items for the deco bar to handle. How do I make a second row of icons so it doesn't crash?

(Poorly made picture to demonstrate what I want to do).

Offline kid1293

  • Modders
  • Banished Expert
  • *****
  • Posts: 3901
  • Never confuse movement with progress
Re: Stacking toolbars
« Reply #1 on: February 03, 2021, 12:08:11 AM »
Hi @angainor88
You have to tell the game to increase the number of rows to display and tell it to not display so many buttons on one row.

Here is the code to do it. Look in 'ToolBar.rsc' where I have written EDIT and you can easily adapt it to what you want.

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 401
Re: Stacking toolbars
« Reply #2 on: February 03, 2021, 08:32:47 AM »
Thank you @kid1293 !