Skeletor Posted May 5 Share Posted May 5 Hi Devs, I noticed that my GuiEdit.au3 did not have the _GUICtrlEdit_SetPadding included. I saw the release stated this was updated, but not sure why mine did not contain this. Anyways, I could not find this so I created one. Have a look and advise. ; #FUNCTION# ==================================================================================================================== ; Author ........: Skeletor ; Modified.......: ; =============================================================================================================================== Func _GUICtrlEdit_SetPadding($idEdit, $iPaddingX, $iPaddingY) Local $aPos = ControlGetPos("","",GUICtrlGetHandle($idEdit)) Local $aMargin = [$aPos - $iPaddingX, $aPos - $iPaddingY, $aPos + $iPaddingX * 2, $aPos + $iPaddingY * 2] ControlMove($idEdit, "", $aMargin, $aMargin, $aMargin, $aMargin) EndFunc ;==>_GUICtrlEdit_SetPadding Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now