Sizing issues

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Sizing issues

Postby IngwiePhoenix » Mon Jan 13, 2014 4:36 pm

Hey.

I finally got my FLTK port to work. Now when I spawn a window, it works as expected; when I resize it, the page content wraps accordingly. However, this works everywhere BUT on google.com or modmyi.com xD. Why is that?
http://puu.sh/6jXhR.png
and http://puu.sh/6jXo0.png

Kind regards, Ingwie
IngwiePhoenix
Mentor
 
Posts: 73
Joined: Thu Nov 21, 2013 5:04 pm

Re: Sizing issues

Postby magreenblatt » Mon Jan 13, 2014 4:54 pm

Probably those sites specify a minimum width in the html/css. You should get a horizontal scroll bar.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Sizing issues

Postby IngwiePhoenix » Mon Jan 13, 2014 5:04 pm

I do get that scroll bar. o.o
Is there a browser setting, that will always make the content "bump" against the edge? Because Google doesnt do that on an iPhone. o.o
IngwiePhoenix
Mentor
 
Posts: 73
Joined: Thu Nov 21, 2013 5:04 pm

Re: Sizing issues

Postby magreenblatt » Mon Jan 13, 2014 5:18 pm

IngwiePhoenix wrote:Is there a browser setting, that will always make the content "bump" against the edge? Because Google doesnt do that on an iPhone. o.o

iPhone is a mobile browser. You can pretend to be a mobile browser by setting the User-Agent string appropriately (CefSettings.user_agent). See https://developers.google.com/chrome/mo ... user-agent
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 242 guests