<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: wrong alignment of labels in forms with RTL languages</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/wrong-alignment-of-labels-in-forms-with-rtl-languages</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/wrong-alignment-of-labels-in-forms-with-rtl-languages/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on wrong alignment of labels in forms with RTL languages</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/wrong-alignment-of-labels-in-forms-with-rtl-languages#p25804</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/wrong-alignment-of-labels-in-forms-with-rtl-languages#p25804</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p><a href="https://github.com/tonytomov/jqGrid/blob/v4.3.1/css/ui.jqgrid.css#L110" target="_blank">the line</a> of <em>ui.jqgrid.css</em> should be fixed by removing the <strong>text-align: left;</strong>&#160;part:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5995' value='Select Code' data-codeid='sfcode5995' /></p>
<div class='sfcode' id='sfcode5995'>.ui-jqdialog-content .CaptionTD {<span style=&#34;text-decoration: line-through;&#34;><strong>text-align: left; </strong></span>vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;}</div>
<p>The explicite left alignment of the texts of the labels should be removed to inherit the correct alignment from the parent. Probably in case of the usage of iframes (IE6) the setting of the <strong>text-align</strong> CSS should be made in the code like it will be done <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.1/js/grid.formedit.js#L969" target="_blank">here</a>.</p>
<p>In any way the labels in the dialogs in RTL languages should has right and not left alignment like one can see in comparing of two Windows dialogs</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/EnglishDialog.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/EnglishDialog.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>and</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/ArabicDialog.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/ArabicDialog.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>Best regards<br />Oleg</p></p>
]]></description>
        	        	<pubDate>Thu, 26 Jan 2012 09:28:51 +0200</pubDate>
        </item>
</channel>
</rss>