Lisp HUG Maillist Archive

Interface builder width of gui and panes

Hello I'm new to the list.

I am trying to build a gui for a windows program I am writing and I decided to try out the interface builder. I haven't mastered it by any means but it does seem to make creating the basics much easier. The issues I am seeing are:

1- When I save the GUI I created it often saves multiple copies of the gui code in the same file. Like a backup of what it originally was. I see this when I edit the gui in the code view. Is this by design?

2- I have a row in which I have a series of option-text-panes with varying widths, 40, 200, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 200 which totals to 640 for example, however the width of the overall dialog keeps returning to like 777 and leaves gaps between  each option-text-pane, I want them butted up to each other like a spreadsheet. What do I need to do to achieve this? 

Thank you,

William

Re: Interface builder width of gui and panes

>
>
> 2- I have a row in which I have a series of option-text-panes with 
> varying widths, 40, 200, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 200 
> which totals to 640 for example, however the width of the overall 
> dialog keeps returning to like 777 and leaves gaps between  each 
> option-text-pane, I want them butted up to each other like a 
> spreadsheet. What do I need to do to achieve this? 
>

I don't know what an option-text-pane is, but in order to control the 
gap between elements, you use the row-layout :x-gap slot which you can 
set to 0 to have no gap.  You can also set the panes' :visible-border 
slots to nil to remove their borders.

Mitch


Updated at: 2020-12-10 08:43 UTC