master
skylarmt 9 years ago
parent 6886d15204
commit 79e228af5b

@ -337,8 +337,8 @@
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="1" max="-2" attributes="0">
<Component id="recentItemsPanel" max="-2" attributes="0"/>
<Component id="jLabel2" max="32767" attributes="0"/>
<Component id="recentItemsPanel" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@ -348,7 +348,7 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="recentItemsPanel" min="-2" max="-2" attributes="0"/>
<Component id="recentItemsPanel" max="32767" attributes="0"/>
<EmptySpace pref="189" max="32767" attributes="0"/>
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
@ -381,7 +381,7 @@
<Color blue="99" green="99" red="99" type="rgb"/>
</Property>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[160, 234]"/>
<Dimension value="[160, 273]"/>
</Property>
<Property name="opaque" type="boolean" value="false"/>
</Properties>
@ -420,6 +420,12 @@
</Layout>
<SubComponents>
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
<Properties>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[23, 206]"/>
</Property>
<Property name="name" type="java.lang.String" value="" noResource="true"/>
</Properties>
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

@ -188,8 +188,12 @@ public class MainGUI extends javax.swing.JFrame {
mainPane.getWidth(), mainPane.getHeight());
if (PrefStorage.getSetting("theme").equals("dark")) {
tabs.setBackground(new Color(41, 49, 52));
recentFileList.setForeground(Color.white);
recentFileList.setBackground(new Color(41, 49, 52));
} else {
tabs.setBackground(new Color(240, 240, 240));
recentFileList.setForeground(Color.black);
recentFileList.setBackground(Color.white);
}
}
@ -507,9 +511,12 @@ public class MainGUI extends javax.swing.JFrame {
recentItemsPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
recentItemsPanel.setForeground(new java.awt.Color(153, 153, 153));
recentItemsPanel.setMaximumSize(new java.awt.Dimension(160, 234));
recentItemsPanel.setMaximumSize(new java.awt.Dimension(160, 273));
recentItemsPanel.setOpaque(false);
jScrollPane1.setMinimumSize(new java.awt.Dimension(23, 206));
jScrollPane1.setName(""); // NOI18N
recentFileList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
recentFileList.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
@ -573,15 +580,15 @@ public class MainGUI extends javax.swing.JFrame {
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, mainPaneLayout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(mainPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(recentItemsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addComponent(recentItemsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap())
);
mainPaneLayout.setVerticalGroup(
mainPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, mainPaneLayout.createSequentialGroup()
.addContainerGap()
.addComponent(recentItemsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(recentItemsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 189, Short.MAX_VALUE)
.addComponent(jLabel2)
.addContainerGap())

Loading…
Cancel
Save