myjobisgop Posted November 2, 2013 Share 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) Link to comment
Dealman Posted November 3, 2013 Share Posted November 3, 2013 I believe he means guiCreateTabPanel, and not a label. Link to comment
xXMADEXx Posted November 3, 2013 Share 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.. Link to comment
Remi-X Posted November 3, 2013 Share 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. Link to comment
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