[gui4gl-commits] [CVS gui4gl] Minor change in scrollbar layout.

  • From: cvsd@xxxxxxxxxxxxxxxxxxxx
  • To: gui4gl-commits@xxxxxxxxxxxxx
  • Date: Wed, 5 May 2004 01:54:53 +0200

Commit in gui4gl/src/org/codejive/gui4gl on MAIN
widgets/ScrollBar.java+5-21.1 -> 1.2
themes/blues/BluesThemeConfig.java+4-21.17 -> 1.18
+9-4
2 modified files
Minor change in scrollbar layout.

gui4gl/src/org/codejive/gui4gl/widgets
ScrollBar.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- ScrollBar.java	4 May 2004 22:07:57 -0000	1.1
+++ ScrollBar.java	4 May 2004 23:54:53 -0000	1.2
@@ -300,7 +300,7 @@
 					buttonSize = barRect.width;
 				}
 				m_lessButton.setBounds(0, 0, barRect.width, buttonSize);
-				m_innerBar.setBounds(0, buttonSize, barRect.width, barRect.height - 2 * buttonSize );
+				m_innerBar.setBounds(0, buttonSize + 1, barRect.width, barRect.height - 2 * buttonSize - 2);
 				m_moreButton.setBounds(0, barRect.height - buttonSize, barRect.width, buttonSize);
 			} else {
 				int buttonSize = barRect.width / 10;
@@ -308,7 +308,7 @@
 					buttonSize = barRect.height;
 				}
 				m_lessButton.setBounds(0, 0, buttonSize, barRect.height);
-				m_innerBar.setBounds(buttonSize, 0, barRect.width - 2 * buttonSize, barRect.height);
+				m_innerBar.setBounds(buttonSize + 1, 0, barRect.width - 2 * buttonSize - 2, barRect.height);
 				m_moreButton.setBounds(barRect.width - buttonSize, 0, buttonSize, barRect.height);
 			}
 		}
@@ -344,6 +344,9 @@
 
 /*
  * $Log$
+ * Revision 1.2  2004/05/04 23:54:53  tako
+ * Minor change in scrollbar layout.
+ *
  * Revision 1.1  2004/05/04 22:07:57  tako
  * First check-in of a new widget that implements a scroll bar.
  *

gui4gl/src/org/codejive/gui4gl/themes/blues
BluesThemeConfig.java 1.17 -> 1.18
diff -u -r1.17 -r1.18
--- BluesThemeConfig.java	4 May 2004 22:31:23 -0000	1.17
+++ BluesThemeConfig.java	4 May 2004 23:54:53 -0000	1.18
@@ -111,7 +111,6 @@
 		Theme.setValue(ScrollBar.class, "backgroundColor#focused", new GLColor(.96f, 1.0f, 0.2f));
 		Theme.setFloatValue(ScrollBar.class, "transparancy#focused", 0.0f);
 		Theme.setValue(ScrollBar.class, "innerBar.renderer", new ScrollBarRenderer());
-		Theme.setIntegerValue(ScrollBar.class, "innerBar.xPadding", 1);
 		Theme.setValue(ScrollBar.class, "innerBar.barColor", new GLColor(0.65f, 0.65f, 1.0f));
 		Theme.setFloatValue(ScrollBar.class, "innerBar.barTransparancy", 0.0f);
 		Theme.setValue(ScrollBar.class, "innerBar.barColor#focused", new GLColor(0.45f, 0.45f, 1.0f));
@@ -142,8 +141,11 @@
 
 /*
  * $Log$
+ * Revision 1.18  2004/05/04 23:54:53  tako
+ * Minor change in scrollbar layout.
+ *
  * Revision 1.17  2004/05/04 22:31:23  tako
- * Added scrollbar attribute values.^M
+ * Added scrollbar attribute values.
  * Changed the names of a couple of TextField attributes.
  *
  * Revision 1.16  2004/03/17 00:41:17  tako
CVSspam 0.2.8

Other related posts:

  • » [gui4gl-commits] [CVS gui4gl] Minor change in scrollbar layout.