Fix for over-flowing Audio info ... in options dialog
by Jeff Yaskus · in RTS Starter Kit · 02/26/2010 (10:59 pm) · 0 replies
Just a quick simple fix for the Audio properties in the OPTIONS menu.
For me,the text overflows the 3 volume sliders ... preventing them from working,
Edit OptionsDlg.gui and find new GuiMLTextCtrl(OptAudioInfo) ...
replace that code with this ... which creates a scroll box around the data, keeping in from bleeding over.
For me,the text overflows the 3 volume sliders ... preventing them from working,
Edit OptionsDlg.gui and find new GuiMLTextCtrl(OptAudioInfo) ...
replace that code with this ... which creates a scroll box around the data, keeping in from bleeding over.
new GuiScrollCtrl() {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "140 13";
extent = "200 80";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOn";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
childMargin = "0 0";
new GuiMLTextCtrl(OptAudioInfo) {
profile = "GuiMLTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "149 10";
extent = "190 14";
minExtent = "8 8";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
};
};About the author
Long time gamer, hacker and programmer. With dreams of making video games -