Search the Community
Showing results for tags 'rscxlistbox'.
Found 2 results
-
Horizontal Listbox Example needed
Bayern_Maik posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, I cant find a working example for a horizontal Listbox (Type: CT_XLISTBOX/42) & BI's "Templates/Examples" in their "splendid" documentation don't work either (https://community.bistudio.com/wiki/DialogControls-ListBoxes). Is there anyone who could help me out with a working example control pls? There might be a ugly wrokaround with buttons but im kind of desperate to understand how this ****box is supposed to work Bueno thanks in advantage Greets from Germany Edit: Got it working, will post my example for other noobs ;D- 1 reply
-
- listbox
- horizontal
-
(and 1 more)
Tagged with:
-
Hi all, I am using RscXListBox as you can see in the picture but it seems offset (not centered) so I am looking for a fix. If I change the text to say just "A" then you can see the issue more. Hopefully there is simple fix and I don't have to create invisible spacing. class RscXListBox { deletable = 0; fade = 0; idc = -1; type = CT_XLISTBOX; x = 0.1; y = 0.1; color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.25}; colorSelect[] = {0.95,0.95,0.95,1}; colorText[] = {1,1,1,1}; soundSelect[] = { "\A3\ui_f\data\sound\RscListbox\soundSelect", 0.09, 1 }; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {1,1,1,1}; colorPictureDisabled[] = {1,1,1,0.25}; colorPictureRight[] = {1,1,1,1}; colorPictureRightSelected[] = {1,1,1,1}; colorPictureRightDisabled[] = {1,1,1,0.25}; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; style = ST_CENTER + LB_TEXTURES + SL_HORZ; shadow = 2; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; w = 0.14706; h = 0.039216; font = "RobotoCondensed"; sizeEx = GUI_TEXT_SIZE_MEDIUM; }; As you can see, it has ST_CENTER but it seems that there is more padding on the right side. class spawnType : RscXListBox { idc = idc_spawnSelection_spawnType; x = 0.2875 * safezoneW + safezoneX; y = 0.3 * safezoneH + safezoneY; w = 0.15 * safezoneW; h = 0.03 * safezoneH; text = ""; };