yawoo Posted July 20, 2005 Share Posted July 20, 2005 I have created a GUI myself, but the label and the listbox in the same line are not alignment in vertical level. Sample are shown below. Is that any method to do so? Link to comment Share on other sites More sharing options...
BigDaddyO Posted July 20, 2005 Share Posted July 20, 2005 I have created a GUI myself, but the label and the listbox in the same line are not alignment in vertical level. Sample are shown below. Is that any method to do so?<{POST_SNAPBACK}>When you say listbox, I am assuming you mean Combobox by looking at the screenshot.I normally position my labels with the top of the control 3 lower than the ComboBox, that lines them up nicely. Link to comment Share on other sites More sharing options...
yawoo Posted July 20, 2005 Author Share Posted July 20, 2005 When you say listbox, I am assuming you mean Combobox by looking at the screenshot.I normally position my labels with the top of the control 3 lower than the ComboBox, that lines them up nicely.<{POST_SNAPBACK}>Yes! That's combobox.You means the code something like below?GuiCtrlCreateLabel("Video codec:", $x, $y+3, $w)GuiCtrlCreatecombo("", $x+$w, $y, $w1, 200, $CBS_DROPDOWNLIST) Link to comment Share on other sites More sharing options...
BigDaddyO Posted July 20, 2005 Share Posted July 20, 2005 GuiCtrlCreateLabel("Label2", 10, 63, 40, 20) GuiCtrlCreateCombo("Combo1", 60, 60, 100, 20) Link to comment Share on other sites More sharing options...
yawoo Posted July 20, 2005 Author Share Posted July 20, 2005 GuiCtrlCreateLabel("Label2", 10, 63, 40, 20)GuiCtrlCreateCombo("Combo1", 60, 60, 100, 20)<{POST_SNAPBACK}>Thanks a lot! I got your idea. Link to comment Share on other sites More sharing options...
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