Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv28664
Modified Files:
AlertBox.py ConfirmBox.py PopupBox.py
Log Message:
Some default width fixes to match the current new default font. It would
be great if a box without width and height could be as big as needed
automaticly (with a max width). Right now, the buttons in the ConfirmBox
are not at the bottom of the box, that should be fixed.
Index: AlertBox.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/AlertBox.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** AlertBox.py 25 Jun 2003 02:27:39 -0000 1.15
--- AlertBox.py 20 Jul 2003 09:46:11 -0000 1.16
***************
*** 10,13 ****
--- 10,19 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2003/07/20 09:46:11 dischi
+ # Some default width fixes to match the current new default font. It would
+ # be great if a box without width and height could be as big as needed
+ # automaticly (with a max width). Right now, the buttons in the ConfirmBox
+ # are not at the bottom of the box, that should be fixed.
+ #
# Revision 1.15 2003/06/25 02:27:39 rshortt
# Allow 'frame' containers to grow verticly to hold all contents. Also
***************
*** 130,134 ****
def __init__(self, parent='osd', text=" ", handler=None, left=None,
! top=None, width=300, height=150, bg_color=None, fg_color=None,
icon=None, border=None, bd_color=None, bd_width=None,
vertical_expansion=1):
--- 136,140 ----
def __init__(self, parent='osd', text=" ", handler=None, left=None,
! top=None, width=400, height=150, bg_color=None, fg_color=None,
icon=None, border=None, bd_color=None, bd_width=None,
vertical_expansion=1):
Index: ConfirmBox.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/ConfirmBox.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** ConfirmBox.py 25 Jun 2003 02:27:39 -0000 1.16
--- ConfirmBox.py 20 Jul 2003 09:46:11 -0000 1.17
***************
*** 11,14 ****
--- 11,20 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.17 2003/07/20 09:46:11 dischi
+ # Some default width fixes to match the current new default font. It would
+ # be great if a box without width and height could be as big as needed
+ # automaticly (with a max width). Right now, the buttons in the ConfirmBox
+ # are not at the bottom of the box, that should be fixed.
+ #
# Revision 1.16 2003/06/25 02:27:39 rshortt
# Allow 'frame' containers to grow verticly to hold all contents. Also
***************
*** 126,130 ****
def __init__(self, parent='osd', text=" ", handler=None, default_choice=0,
! left=None, top=None, width=300, height=150, bg_color=None,
fg_color=None, icon=None, border=None, bd_color=None,
bd_width=None, vertical_expansion=1):
--- 132,136 ----
def __init__(self, parent='osd', text=" ", handler=None, default_choice=0,
! left=None, top=None, width=400, height=150, bg_color=None,
fg_color=None, icon=None, border=None, bd_color=None,
bd_width=None, vertical_expansion=1):
***************
*** 138,146 ****
# OK/CANCEL and YES/NO
! self.b0 = Button('OK')
self.b0.set_h_align(Align.NONE)
self.add_child(self.b0)
! self.b1 = Button('CANCEL')
self.b1.set_h_align(Align.NONE)
self.add_child(self.b1)
--- 144,152 ----
# OK/CANCEL and YES/NO
! self.b0 = Button('OK', width=(width-60)/2)
self.b0.set_h_align(Align.NONE)
self.add_child(self.b0)
! self.b1 = Button('CANCEL', width=(width-60)/2)
self.b1.set_h_align(Align.NONE)
self.add_child(self.b1)
Index: PopupBox.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/PopupBox.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** PopupBox.py 13 Jul 2003 19:35:44 -0000 1.22
--- PopupBox.py 20 Jul 2003 09:46:11 -0000 1.23
***************
*** 11,14 ****
--- 11,20 ----
#-----------------------------------------------------------------------
# $Log$
+ # Revision 1.23 2003/07/20 09:46:11 dischi
+ # Some default width fixes to match the current new default font. It would
+ # be great if a box without width and height could be as big as needed
+ # automaticly (with a max width). Right now, the buttons in the ConfirmBox
+ # are not at the bottom of the box, that should be fixed.
+ #
# Revision 1.22 2003/07/13 19:35:44 rshortt
# Change osd.focused_app to a function that returns the last object in
***************
*** 133,137 ****
def __init__(self, parent='osd', text=' ', handler=None, left=None,
! top=None, width=360, height=120, bg_color=None, fg_color=None,
icon=None, border=None, bd_color=None, bd_width=None,
vertical_expansion=1):
--- 139,143 ----
def __init__(self, parent='osd', text=' ', handler=None, left=None,
! top=None, width=400, height=120, bg_color=None, fg_color=None,
icon=None, border=None, bd_color=None, bd_width=None,
vertical_expansion=1):
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog