UpperM 14 Posted June 9, 2016 Hi ! I want to delete the gray border on the RscEdit box but after few searchs I didn't find how to .. Anyone know how to do it ? my common.hpp : class UpperM_RscEdit { access = 0; type = 2; x = 0; y = 0; h = 0.04; w = 0.2; colorBackground[] = TRANSPARENT; colorText[] ={0.95,0.95,0.95,1}; colorSelection[] ={ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",1}; autocomplete = ""; text = ""; size = 0.2; shadow = 2; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorDisabled[] = { 1, 1, 1, 0.25 }; canModify = 1; style = 16; lineSpacing = 1; }; Thank SOLUTION Add 512 to the style. So your style instead of: style = 16; should look like: style = "16 + 512"; http://killzonekid.com/arma-scripting-tutorials-gui-part-4/ Share this post Link to post Share on other sites
gc8 981 Posted June 9, 2016 have you tried borderSize = 0; ? Share this post Link to post Share on other sites
UpperM 14 Posted June 9, 2016 have you tried borderSize = 0; ? Yes it's doesnt work. I tried in Common.hpp and in my dialog.hpp Share this post Link to post Share on other sites
gc8 981 Posted June 9, 2016 Yes it's doesnt work. I tried in Common.hpp and in my dialog.hpp did you save the mission so that the change takes effect? you must always either save or load the mission to update dialog changes. there's also this variable you could use (just set alpha to zero): colorBorder[] = {0, 0, 0, 0}; Share this post Link to post Share on other sites
UpperM 14 Posted June 9, 2016 Yes i load my mission on each update. I try colorBorder and BorderSize in my common.hpp and still dosent work Share this post Link to post Share on other sites
killzone_kid 1333 Posted June 9, 2016 Hi ! I want to delete the gray border on the RscEdit box but after few searchs I didn't find how to .. Anyone know how to do it ? Add 512 to the style. So your style instead of: style = 16; should look like: style = "16 + 512"; http://killzonekid.com/arma-scripting-tutorials-gui-part-4/ 2 Share this post Link to post Share on other sites
UpperM 14 Posted June 9, 2016 Add 512 to the style. So your style instead of: style = 16; should look like: style = "16 + 512"; http://killzonekid.com/arma-scripting-tutorials-gui-part-4/ Thank man it's work ! Thank you two for your help It's very appreciated ! Have nice day Share this post Link to post Share on other sites
R3vo 2654 Posted June 9, 2016 I just noticed something strange. Using style = "16 + 512";, some longer strings like "BackgroundTrack02_F" have a linebreak, even though the edit box is more then wide enough to fit it into one line. Any explanation? Edit: Seem like the length is not even impotant, "Track05_Underwater2" for example is displayed correctly in one line and "BackgroundTrack01_F_EPC" looks like this: BackgroundTrack01_F_EP C Share this post Link to post Share on other sites
killzone_kid 1333 Posted June 9, 2016 I just noticed something strange. Using style = "16 + 512";, some longer strings like "BackgroundTrack02_F" have a linebreak, even though the edit box is more then wide enough to fit it into one line. Any explanation? Edit: Seem like the length is not even impotant, "Track05_Underwater2" for example is displayed correctly in one line and "BackgroundTrack01_F_EPC" looks like this: BackgroundTrack01_F_EP C Fine here, the width of the box is important. Share this post Link to post Share on other sites
R3vo 2654 Posted June 9, 2016 The width seemed alright, gonna recheck tomorrow. Share this post Link to post Share on other sites
R3vo 2654 Posted June 12, 2016 I fixed the issue, was totally my fault. I set the text for the edit box first and changed the width afterwards. Swapping that around made it work. Share this post Link to post Share on other sites