FHEM Forum

FHEM => fhem-users => Thema gestartet von: Guest am 22 April 2012, 21:38:58

Titel: Floorplan pagesize how to set?
Beitrag von: Guest am 22 April 2012, 21:38:58
Originally posted by: <email address deleted>

Hi,

I read the documentation and made a floorplan. I can't find where the
page size is set, I always get scrollbars in my browser, my floorplan
picture is 640x480, so that is not the problem.  Where can I set the
page size for this layout?

regards Richard

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Titel: Re: Floorplan pagesize how to set?
Beitrag von: Guest am 23 April 2012, 08:17:22
Originally posted by: <email address deleted>

Am Sonntag, 22. April 2012 21:38:58 UTC+2 schrieb kroonen:
I always get scrollbars in my browser

Hi Richard,
these (ugly) scrollbars are permanent since implementation of the css-tag
#backimg.

If you deactivate this css-tag (e.g. by renaming it in your css-file from
#backimg to #backimg2), the scrollbars are gone. However, you cannot choose
the position of your backgroundimage anymore - which is used especially in
darkfloorplanstyle.css to move the background image to the right to avoid
an overlap with the floorplan menu.

I tried stating an absolute size in the #backimg-tag, but this doesn't help
either - the scrollbars appear as soon as the #backimg-tag is active in the
css-file.

If you find a way to keep the positioning of the background-image and still
not have scrollbars, I'd be glad to know.

Cheers, Uli

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Titel: Re: Floorplan pagesize how to set?
Beitrag von: Guest am 23 April 2012, 19:21:23
Originally posted by: <email address deleted>

Hi Richard,
I found the reason. There is a hardcoded height&width of 100%. I reduced
them to 99% and tadaaaa the scrollbars disappear.
Will be published with the next floorplan-release.
Cheerio,
Uli

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com