Jump to content

GUI question


myjobisgop

Recommended Posts

Author of Hedit here. The background is an empty gridlist, disabled. Drawn over that is a large label consisting of underscores, creating the white line. This is also a disabled GUI element. Drawn on top of that is the header text.

So you'd want something like the following:

local lineStr = string.repeat("_", 50) 
local grid    = guiCreateGridList([...]) 
local line    = guiCreateLabel([...], lineStr, [...]) 
local title   = guiCreateLabel([...], "Hello there", [...]) 
  
guiSetEnabled(grid, false) 
guiSetEnabled(line, false) 

Arguments are to be filled in by you. You may aswell use guiMoveToBack or guiBringToFront if the ordering of the elements don't appear the way you wanted.

Good luck.

Link to comment

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...