unwanted padding added in form

Questions regarding IDE/Code-Editor

unwanted padding added in form

Postby fallon416 » Fri Mar 26, 2010 3:10 am

Hi,

I'm new to KBasic and I'm not sure what I'm missing. If I create a project and drop a listbox and a textbox on a form I seem to get extra padding to the right side of the form that I don't want. Example Form width = 358. I place a textbox at 35,17 with a width of 311 and a height of 24. Now a place a listbox on the form at 35, 109 with a width of 311 and a height of 195. I run the application to see what it looks like and there is extra padding on the right side of the controls that I am trying to put in absolute positions.

Neil
fallon416
 
Posts: 6
Joined: Thu Mar 25, 2010 9:32 am

Re: unwanted padding added in form

Postby fallon416 » Fri Mar 26, 2010 3:17 am

I figured it out.

You have to set resizable to false in the forms properties.

Neil
fallon416
 
Posts: 6
Joined: Thu Mar 25, 2010 9:32 am

Re: unwanted padding added in form

Postby berndnoetscher » Fri Mar 26, 2010 8:12 am

fallon416 wrote:I figured it out.

You have to set resizable to false in the forms properties.

Neil


Thanks for your feedback.
berndnoetscher
Site Admin
 
Posts: 1059
Joined: Tue Sep 25, 2007 9:37 am


Return to IDE

cron