fork/m-overlay
git clone https://git.julia.blue/fork/m-overlay
5d0d3ba
master
1local PANEL =class . create ( "LabelIcon" , "Label" ) 2 3function PANEL : LabelIcon () 4-- Initialize our baseclass 5self : super () 6 7self . m_pIcon =self : Add ( "Image" ) 8self . m_pIcon : SetSize ( 16 , 16 ) 9self . m_pIcon : SetPos ( 4 , 4 ) 10self . m_pIcon : SetFocusable ( false ) 11self : InheritMethods ( self . m_pIcon ) 12 13self : TextMargin ( 28 , 0 , 0 , 0 ) 14self : SetTextAlignmentX ( "left" ) 15end