Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32414
Modified Files:
info_area.py
Log Message:
fix alignment right/center with MAX
Index: info_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/info_area.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** info_area.py 12 Feb 2004 12:21:36 -0000 1.16
--- info_area.py 13 Feb 2004 20:28:35 -0000 1.17
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.17 2004/02/13 20:28:35 dischi
+ # fix alignment right/center with MAX
+ #
# Revision 1.16 2004/02/12 12:21:36 dischi
# support "0" as result
***************
*** 388,392 ****
r = self.get_item_rectangle(r, self.content.width - x,
self.content.height - y )[ 2 ]
-
if element.height > 0:
height = min(r.height, element.height)
--- 391,394 ----
***************
*** 405,411 ****
if element.width <= 0:
element.width = min( m_width, r.width )
! else:
element.width = min( m_width, r.width )
!
if isinstance( element.height, int ) or element.height ==
'line_height':
if element.height <= 0 or element.height == 'line_height':
--- 407,415 ----
if element.width <= 0:
element.width = min( m_width, r.width )
! elif element.align == 'left':
element.width = min( m_width, r.width )
! else:
! element.width = r.width
!
if isinstance( element.height, int ) or element.height ==
'line_height':
if element.height <= 0 or element.height == 'line_height':
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog