#10880 closed enhancement (fixed)
per widget dir attribute
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | Dijit | Version: | 1.4.0 |
Keywords: | bidi | Cc: | |
Blocked By: | Blocking: |
Description
Support the dir attribute per widget, so that a single document can have some widgets in LTR mode and some in RTL mode
Change History (15)
comment:1 Changed 11 years ago by
Owner: | set to bill |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 11 years ago by
(In [21650]) Pass dir/lang when manually creating embedded widgets (TreeNode, TabController, TabButton, etc.). Setting dir/lang is useful to:
- Trigger RTL CSS rules (ex: set dijitTabButtonRtl to get different styling for TabButton close icon)
- Affect behavior (ex: whether right or left arrow key opens submenu from a PopupMenuItem)
- Affects how browser displays text. This is usually not necessary since dir/lang settings on a node affect all subnodes. However, it's useful for popups since they have been moved under <body> and thus don't inherit the lang/dir from their logical parent (ex: a Calendar won't inherit dir/lang from the DateTextBox).
So, I'm setting it everywhere just to be safe; some of the settings are likely unneeded.
Refs #10880 !strict.
comment:4 Changed 11 years ago by
comment:6 Changed 11 years ago by
comment:7 Changed 11 years ago by
comment:8 Changed 11 years ago by
comment:9 Changed 11 years ago by
comment:10 Changed 11 years ago by
comment:11 Changed 11 years ago by
comment:12 Changed 11 years ago by
comment:13 Changed 11 years ago by
comment:14 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
(In [21633]) Support per-widget dir setting. If dir is specified, widget renders in specified direction. Otherwise, it renders in the direction of the document.
Changes include:
Fixes #10880 !strict