layout editor coordinates not saved correct
Bug #1227855 reported by
Herbert Voordes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Incomplete
|
Undecided
|
Dan Garner |
Bug Description
Server: 1.5.1
Client: 1.5
Web browser: IE, Chrome
Reproduce bug:
1. open layout and add region.
2. Region, option: Put in coordinates
3. Save the layout (if needed)
4. Re-open layout
Now you will see the coordinates are different from the ones you put in in the first place.
When looking at the database (table: layout, field XML); the coorinates are not stored correctly.
There is allways 1 pixel less than the given value.
For example: create region: option: left 0; top 148; width: 200; height: 300; it saves top as 147.
Changed in xibo: | |
milestone: | 1.5.2 → 1.6.0-rc1 |
Changed in xibo: | |
milestone: | 1.6.0-rc1 → 1.6.0 |
Changed in xibo: | |
milestone: | 1.6.0-rc2 → none |
To post a comment you must log in.
The problem is possible solved with removing the border (1px solid #000000) from the dom. The distance is possible calculated including the border. I think the solution is by putting the style in the CSS!