• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Targor

Legendarymarvin
130 Badges
Aug 9, 2009
1.465
406
  • Cities: Skylines Industries
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • PDXCON 2018 "The Emperor"
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Teleglitch: Die More Edition
  • War of the Roses
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Knights of Honor
  • Crusader Kings Complete
  • Europa Universalis IV: Third Rome
Hello Modding Community,

I uploaded a fairly popular Mod to the Steam Workshop which raises the limit of core planets via edicts as one wants, if a player wants to micromanage everything.
This works without problems with one exception: Manual resettlement. Since you can only resettle pops of your core planets, PDX never suspected needing a big windows for this, so everything above 10 planets gets cut of in the manuel resettlement dropdown menu. Can anyone help me add a scrollbar to the dropdown menu? My attempts resulted in CTDs.

Thank you!
 
  • 1
Reactions:

MrRaoul

Private
71 Badges
Nov 29, 2012
19
3
  • Crusader Kings II: Charlemagne
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Federations
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Apocalypse
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
Hi,
It depend how the file is structured, if you already have a gridBoxType inside a containerWindowType that's quite simple to add.
However if you don't have the containerWindowType so far I've ctd too in trying to create one.
I think that we broke some link for the gridBoxType wich is now inside another object.
The problem is that I have no idea where the GUI functions are defined or refered to because I think that would be the solution.

I've post for the same problem:
https://forum.paradoxplaza.com/forum/index.php?threads/problem-with-gui-code.934511/
 

Targor

Legendarymarvin
130 Badges
Aug 9, 2009
1.465
406
  • Cities: Skylines Industries
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • PDXCON 2018 "The Emperor"
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Teleglitch: Die More Edition
  • War of the Roses
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Knights of Honor
  • Crusader Kings Complete
  • Europa Universalis IV: Third Rome
I did it! I'm not quite sure how or why, but here's what I did.

Original (manual_resettlement_view.gui)

Code:
  expandedWindow = {
         name = "expanded_window"
         position = { x = 10 y = -300 }   
         show_position = { x = 10 y = 65 }
         show_animation_type = decelerated
         hide_animation_type = accelerated
         animation_time = 200
         size = { width=530 height=350 }   
         verticalScrollbar = "right_vertical_slider"
         margin = { top = 7 bottom = 7 right = 6 }
         
         background = {
           name = "bg"     
           quadTextureSprite = "GFX_subwindow_tile_plain_solid"
           position = { x = 0 y = 0 }
         }
         
         gridBoxType = {
           name = "elements"
           position = { x = 30 y = 9 }
           size = { width = 190 height = 320 }
           slotsize = { width = 186 height = 32 }
           max_slots_horizontal = 1
           format = "UPPER_LEFT"
         }

Modded, only changed both size values to 500 and slotsize to 25.
Code:
      expandedWindow = {
         name = "expanded_window"
         position = { x = 10 y = -300 }   
         show_position = { x = 10 y = 65 }
         show_animation_type = decelerated
         hide_animation_type = accelerated
         animation_time = 200
         size = { width=530 height=500 }   
         verticalScrollbar = "right_vertical_slider"
         margin = { top = 7 bottom = 7 right = 6 }
         
         background = {
           name = "bg"     
           quadTextureSprite = "GFX_subwindow_tile_plain_solid"
           position = { x = 0 y = 0 }
         }
         
         gridBoxType = {
           name = "elements"
           position = { x = 30 y = 9 }
           size = { width = 190 height = 500 }
           slotsize = { width = 186 height = 25 }
           max_slots_horizontal = 1
           format = "UPPER_LEFT"
         }
       }

Result:
7664b12b56.png