Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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)

Posted

GuiCtrlCreateLabel("Label2", 10, 63, 40, 20)

GuiCtrlCreateCombo("Combo1", 60, 60, 100, 20)

<{POST_SNAPBACK}>

Thanks a lot! I got your idea.

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
×
×
  • Create New...