Jump to content

Text Alignment


yawoo
 Share

Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

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