myjobisgop Posted November 2, 2013 Posted November 2, 2013 In resource "Handling Editor" I saw this GUI element: How do I do that? I tried to create it using guiCreateWindow , but it's not working (Title has a central vertical align constantly)
Dealman Posted November 3, 2013 Posted November 3, 2013 I believe he means guiCreateTabPanel, and not a label.
xXMADEXx Posted November 3, 2013 Posted November 3, 2013 I believe he means guiCreateTabPanel, and not a label. Ah now that I look more carefully at it I guess it could be a tab panel. Looked like a window at first sight..
botanist Posted November 3, 2013 Posted November 3, 2013 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now