You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made a quick edit to ui.lua. Basically you just need to account for UI Scale when positioning the hotbar. Sorry for the quick and dirty copy/paste, didn't have my git pipeline set up on the PC I'm making edits on.
I play FFXI in 5K so I have to scale my main fullscreen window up to 2.0 on the UI Scale.
Then when I launch mules, my hot bars are positioned wrong because the have the incorrect OffsetX/OffsetY used by the 5k resolution window. (Mules use 2K resolution with a 1.0 UI scale)
-- setup positions and dimensions for uifunctionui:setup_metrics(theme_options)
self.hotbar_width= (400+theme_options.slot_spacing*9)
localsettings=windower.get_windower_settings()
-- Calculate UI Scale-- Need to take into account users who are using UI Scales > 1.0 in windower.localui_scalar= ((settings.ui_x_res*1.0) / (settings.x_res*1.0))
self.pos_x= ((settings.x_res*ui_scalar) /2) - (self.hotbar_width/2) +theme_options.offset_xself.pos_y= ((settings.y_res*ui_scalar) -120) +theme_options.offset_yself.slot_spacing=theme_options.slot_spacingiftheme_options.hide_action_names==truethentheme_options.hotbar_spacing=theme_options.hotbar_spacing-10self.pos_y=self.pos_y+10endself.hotbar_spacing=theme_options.hotbar_spacingend
The text was updated successfully, but these errors were encountered:
Made a quick edit to ui.lua. Basically you just need to account for UI Scale when positioning the hotbar. Sorry for the quick and dirty copy/paste, didn't have my git pipeline set up on the PC I'm making edits on.
I play FFXI in 5K so I have to scale my main fullscreen window up to 2.0 on the UI Scale.
Then when I launch mules, my hot bars are positioned wrong because the have the incorrect OffsetX/OffsetY used by the 5k resolution window. (Mules use 2K resolution with a 1.0 UI scale)
The text was updated successfully, but these errors were encountered: