# Set Dialog Item to Use Aspect Uncorrection
Grammar — Set dialogItem Use Aspect Uncorrection flag to useAspectUncorrection for players
Flags —Action
By default, the offset X and offset Y values of a dialog item*“s position will be corrected for the aspect ratio of the window showing the game. This function is to prevent that conversion from happening. It”*s useful for cases where you want to feed in design coordinates and not have them aspect corrected.
# Arguments
int<control> — Dialog Itembool— Use Aspect Uncorrectionplayergroup— Players
Returns — void
void libNtve_gf_SetDialogItemtoUseAspectUncorrection(
int lp_dialogItem,
bool lp_useAspectUncorrection,
playergroup lp_players,
);
# Related
Category: Dialog / Dialog Item Size And Position
- Move Dialog Item —
void— DialogControlSetPosition - Attach Dialog Item To Dialog Item —
void— DialogControlSetPositionRelative - Set Dialog Item Rotation —
void— libNtve_gf_SetDialogItemRotation - Set Dialog Item to Use Aspect Uncorrection —
void— libNtve_gf_SetDialogItemtoUseAspectUncorrection - Set Dialog Item Size to Parent —
void— DialogControlSetFullDialog - Set Dialog Item Size —
void— DialogControlSetSize - Dialog Item Width —
int— DialogControlGetWidth - Dialog Item Height —
int— DialogControlGetHeight - Dialog Item Offset X —
int— DialogControlGetOffsetX - Dialog Item Offset Y —
int— DialogControlGetOffsetY - Dialog Item Anchor —
int<preset::Anchor> — DialogControlGetAnchor - Dialog Item Relative Anchor —
int<preset::Anchor> — DialogControlGetRelativeAnchor - Relative Dialog Item —
int<control> — DialogControlGetRelativeControl - Dialog Item Is Full Dialog —
bool— DialogControlIsFullDialog
# Examples
— None found —