Skip to content

Commit

Permalink
Fixed preset list not displaying full width text
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen committed Jul 13, 2024
1 parent 6834cb9 commit 66fece6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions addons/ui/functions/fnc_fillLoadoutsList.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ private _data = GVAR(presets);
{
_x params ["_loadoutName", "_loadoutDescription", "_loadoutData"];

_contentPanelCtrl lnbSetColumnsPos [0, 0.05, 0.40, 0.50, 0.60, 0.70, 0.75, 0.80, 0.85, 0.90];

private _newRow = _contentPanelCtrl lnbAddRow ["",_loadoutName];

_contentPanelCtrl setVariable [_loadoutName, _x];
Expand Down
2 changes: 1 addition & 1 deletion addons/ui/ui/LoadoutInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class GVAR(loadoutInfo) {
};
class contentPanel: RscListNBox {
idc = IDC_contentPanel;
columns[]={0, 0.05, 0.40, 0.50, 0.60, 0.70, 0.75, 0.80, 0.85, 0.90};
columns[]={0, 0.05};
drawSideArrows=0;
disableOverflow=1;
onSetFocus = QUOTE(GVAR(loadoutsPanelFocus) = true);
Expand Down

0 comments on commit 66fece6

Please sign in to comment.