Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor XML elements of Formatters jmix-projects/jmix-ui#452
- Loading branch information
Showing
3 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
src/main/resources/io/jmix/sampler/screen/ui/components/label/formatter/label-formatter.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
<window xmlns="http://jmix.io/schema/ui/window"> | ||
<layout spacing="true"> | ||
<label id="dateLabel"> | ||
<dateFormatter type="DATE"/> | ||
<formatter> | ||
<date type="DATE"/> | ||
</formatter> | ||
</label> | ||
<label id="numberLabel"> | ||
<numberFormatter format="#,###"/> | ||
<formatter> | ||
<number format="#,###"/> | ||
</formatter> | ||
</label> | ||
</layout> | ||
</window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters