diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-24 15:45:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-24 15:45:22 +0000 |
commit | 59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9 (patch) | |
tree | 0b2cd688b2d6acb41ec394cf9569435bae012b8a | |
parent | 7c9cb5808a51fe5876ab85277435e7d896583ec5 (diff) | |
download | control-center-59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9.tar control-center-59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9.tar.gz control-center-59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9.tar.bz2 control-center-59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9.tar.xz control-center-59a3ba9e607d1b92491b1bfc5bdf9590acc86ab9.zip |
improve layout for RTL languages and reduce columns flicking (now it
only happens if some page has a scrollbar)
-rwxr-xr-x | control-center | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/control-center b/control-center index bc34e7c6..3e3051e8 100755 --- a/control-center +++ b/control-center @@ -1328,7 +1328,7 @@ foreach (@tree) { </style> </HEAD> -<BODY><TABLE BORDER=0 cellspacing="20" > +<BODY><TABLE BORDER=0 cellspacing="20" WIDTH="100%" align=$align2> )); my $view = Gtk2::Html2::View->new; my $document = Gtk2::Html2::Document->new; @@ -1370,10 +1370,10 @@ foreach (@tree) { my $file = ugtk2::_find_imgfile($icon); my @widgets = ( qq(<TD><A HREF="$label"><IMG SRC="$file"></A></TD>), - qq(<TD ALIGN="justify" style="text-align: $align"><A HREF="$label">$programs{$label}{long_description}</A></TD>) + qq(<TD style="text-align: $align"><A HREF="$label">$programs{$label}{long_description}</A></TD>) ); @widgets = reverse @widgets if lang::text_direction_rtl(); - qq(<TD WIDTH="40%"> + qq(<TD WIDTH="49%"> <TABLE cellspacing="5" align="$align2"><TR> @widgets </TR></TABLE> |