# 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
- [F] —
void
— Move Dialog Item — ( DialogControlSetPosition ) - [F] —
void
— Attach Dialog Item To Dialog Item — ( DialogControlSetPositionRelative ) - [F] —
void
— Set Dialog Item Rotation — ( libNtve_gf_SetDialogItemRotation ) - [F] —
void
— Set Dialog Item to Use Aspect Uncorrection — ( libNtve_gf_SetDialogItemtoUseAspectUncorrection ) - [F] —
void
— Set Dialog Item Size to Parent — ( DialogControlSetFullDialog ) - [F] —
void
— Set Dialog Item Size — ( DialogControlSetSize ) - [F] —
int
— Dialog Item Width — ( DialogControlGetWidth ) - [F] —
int
— Dialog Item Height — ( DialogControlGetHeight ) - [F] —
int
— Dialog Item Offset X — ( DialogControlGetOffsetX ) - [F] —
int
— Dialog Item Offset Y — ( DialogControlGetOffsetY ) - [F] —
int
[ preset::Anchor ] — Dialog Item Anchor — ( DialogControlGetAnchor ) - [F] —
int
[ preset::Anchor ] — Dialog Item Relative Anchor — ( DialogControlGetRelativeAnchor ) - [F] —
int
[ control ] — Relative Dialog Item — ( DialogControlGetRelativeControl ) - [F] —
bool
— Dialog Item Is Full Dialog — ( DialogControlIsFullDialog )
# Examples
— None found —