Set maximum dialog box size [SOLVED]
Moderator: Forum Moderators
- beetlenaut
- Developer
- Posts: 2832
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Set maximum dialog box size [SOLVED]
I made a custom dialog with a listbox. As the list gets bigger, the dialog grows until it hits the edge of the screen. I can't figure out how to make it stop growing at a more reasonable size. (It has a scrollbar.)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Set maximum dialog box size
I don't know either it it possible to set the maximum height of a listbox, what your can do however is to set the maximum hight of the whole dialog.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
- beetlenaut
- Developer
- Posts: 2832
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Set maximum dialog box size
Yeah, that's fine. I can't figure out how to do it though.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Set maximum dialog box size
somethng like
maximum_height = 600,
in your dialogs wml should work i thinkScenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
- beetlenaut
- Developer
- Posts: 2832
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Set maximum dialog box size [SOLVED]
Oh. That was too easy. I thought I had create a definition for my grid with a default resolution or something like that. Thanks!
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide