Changeset 247 in tmcsimulator for trunk


Ignore:
Timestamp:
02/08/2019 05:25:08 PM (7 years ago)
Author:
jdalbey
Message:

TrafficEventsEditor?: Adjust GUI so time frame buttons fit on screen.

Location:
trunk/src/atmsdriver/trafficeventseditor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/trafficeventseditor/TrafficEventsEditor.form

    r239 r247  
    180180            <DimensionLayout dim="1"> 
    181181              <Group type="103" groupAlignment="0" attributes="0"> 
    182                   <Component id="StationScrollPane" alignment="0" pref="221" max="32767" attributes="0"/> 
     182                  <Component id="StationScrollPane" alignment="0" pref="0" max="32767" attributes="0"/> 
    183183              </Group> 
    184184            </DimensionLayout> 
     
    361361                          <Component id="CurrentLoopDetectorDescLabel" alignment="3" min="-2" max="-2" attributes="0"/> 
    362362                      </Group> 
    363                       <EmptySpace pref="12" max="32767" attributes="0"/> 
     363                      <EmptySpace max="32767" attributes="0"/> 
    364364                  </Group> 
    365365              </Group> 
     
    743743              <Group type="103" groupAlignment="0" attributes="0"> 
    744744                  <Group type="102" attributes="0"> 
    745                       <Component id="TimeFrameScrollPane" min="-2" pref="238" max="-2" attributes="0"/> 
     745                      <Component id="TimeFrameScrollPane" min="-2" pref="170" max="-2" attributes="0"/> 
    746746                      <EmptySpace max="-2" attributes="0"/> 
    747747                      <Component id="jPanel10" max="32767" attributes="0"/> 
     748                      <EmptySpace min="-2" pref="76" max="-2" attributes="0"/> 
    748749                  </Group> 
    749750              </Group> 
  • trunk/src/atmsdriver/trafficeventseditor/TrafficEventsEditor.java

    r240 r247  
    452452        jPanel4Layout.setVerticalGroup( 
    453453            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    454             .addComponent(StationScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE) 
     454            .addComponent(StationScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) 
    455455        ); 
    456456 
     
    614614                    .addComponent(jLabel8) 
    615615                    .addComponent(CurrentLoopDetectorDescLabel)) 
    616                 .addContainerGap(12, Short.MAX_VALUE)) 
     616                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    617617        ); 
    618618 
     
    834834            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    835835            .addGroup(jPanel3Layout.createSequentialGroup() 
    836                 .addComponent(TimeFrameScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE) 
    837                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    838                 .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
     836                .addComponent(TimeFrameScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE) 
     837                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     838                .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
     839                .addGap(76, 76, 76)) 
    839840        ); 
    840841 
Note: See TracChangeset for help on using the changeset viewer.