UIWebView content width to custom size

I'm displaying Disqus webpage in UIWebView. The page has its mobile version, which resizes it's view to the device. My problem is that UIWebView sets its content to device width, while my webView...

Custom tableviewCell content width is different from tableView

I am using iPhone7 simulator.In my screen contain tableview with more than one different custom cell. When my initial loading this screen my tableView width is 375 and cell.contentview width is...

align PageTabStrip according to the custom ViewPager content width

I have created PageTabStrip and ViewPager to show multiple list fragments. inside my app viewpager content has a specific width ( it doesn't occupy the whole screen ) partial pages are visible. as...

set width of custom dialog to wrap content android

I want to set the width of custom dialog to wrap content but always it fill all the width of the screen I have tested this android.view.WindowManager.LayoutParams params =...

UIWebView setting custom width for the content

I have the html content for my web view. When I load the content my web view makes the content scrollable in both directions, horizontal and vertical. What I want is to limit content to width of...

How to set custom UIView width automatically based on its content?

I have a simple custom UIView (The view with white background on the screenshot) using xib and custom class derived from UIView. Inside I have a UILabel and a button on the same line ant that's...

Custom content using SudoSlider

I am using SudoSlider for my shop, and instead of an image, I want a custom content. So I did this : <div id="home-slider-menu"> <ul> {foreach $slides AS $k =>...

How to update a DataTemplates (which is a custom view) height and width in xamarin forms?

I have a content view which I will be using as a data template for a custom grid view, which will be supporting horizontal scrolling. And for the custom template I need to fix the width and height...

avoid image scaling bug with jQuery custom content scroller

What is the best practices to avoid the image scaling bug on the jQuery custom content scroller? The problem result's in that the image is set to a width: 100%. When the custom scroller is added...

ListPopupWindow not obeying WRAP_CONTENT width spec

I'm trying to use ListPopupWindow to show a list of strings via an ArrayAdapter (eventually this will be a more complex custom adapter). Code is below. As shown in the screenshot, the resulting...

Flexbox align with Angular Material custom design. Centering content removes width of content

So I've been working on a custom design for a site, using Angular Material as the base. I have a problem with centering my content inside the container. When I center, the content shrinks instead...

jQuery custom content scroller: remove mouse scrolling

I am having trouble and was wondering if anyone could please help? I have incorporated a jQuery custom content scroller into my site (link:http://manos.malihu.gr/jquery-custom-content-scroller/)....

Malihu Custom Scrollbar Ajax Content .mCSB_container width not updating

The problem is upon load of website, width of .mCSB_container class is ok, but when i click on a link, for example "projects" link, which fires an ajax function, width of .mCSB_container does not...

Fit some DataTable-columns to content-width on Bootstrap4-Table

I have a Bootstrap 4 HTML-table and a I am using DataTables including Bootstrap styling enhancements. Please find a live example at JSFiddle: https://jsfiddle.net/8krzdhw6/ Without any...

How can I customize the width of a marker popup info window in Android Maps V2

I am using Android Maps V2 and have a set of markers that display custom content in the popup info windows, on tap. I used a custom implementation of the InfoWindowAdapter to feed the popup...

Custom FragmentDialog with round corners and not 100% screen width

I am creating a custom fragment dialog with round corners and with layout that would not fill the screen width (I would prefer if it just wrapped its content). this is my rounded_dialog.xml in...

Can staggered manage view based on the content's width and scroll as vertical?

I am using staggered view to create view tag which will contain text-view but I am facing a problem to manage my content If I am using Staggered Horizontal Manager this is managing my tags based...

input with labels in content box remaining width

I'm having some troubles with my styling of my custom content box. The content box contains of a few label and input fields. The content box has a width of `500px. Some of the labels are longer...

TinyMCE custom content CSS

I'm using TinyMCE to let my users send emails but I wouldn't want these images to exceed max width, so I'm trying to set up the content_css option with the rules: img { max-width:...

Custom video-js width and height on Dynamically Loaded Content

I'm dynamically loading video-js inside a foundation reveal, and I have to trigger the width and height each time it loads. The odd thing is, once I've loaded one video on the page, it won't...

Re-usable sidebar with custom content Semantic UI

I have a basic <Sidebar /> from semantic ui react. I want to be able to reuse this component across several pages -- passing different content in most cases. Here is the re-usable Sidebar...

iOS Tableview. Custom cell always has a content view of 320 width and 44 height

So I am programmatically setting the frame and settings of a UITableView in my UIViewController, and then using a custom UITableViewCell to populate it with data. The problem is that the custom...

Content of custom UITableViewCell dynamic height in iOS8 has different widths

I met this issue after I upgraded xcode to 6.3. The former build compiled using xcode 6.2 doesn't have this issue and works great. The issue is: After switch to other tab and back, or back from...

Getting the real width of a tableview cell during -tableView:heightForRowAtIndexPath: when there is a section index present

The proper height for my custom UITableViewCells depends on their width. Unfortunately, it is difficult to know the actual content area width of a cell in -tableView:heightForRowAtIndexPath:,...

Custom UITableViewCell is wrong width on iPad

I've created a custom UITableViewCell, but when I run my app on iPad the cell's content is the same width as on iPhone. I want the content - the background UIView for example - to be the complete...

Android custom layout notification without white border

When I'm using NotificationCompat.DecoratedCustomViewStyle style with both big and usual custom content view, there are system notification UI for expand/collapse is visible: notification width is...

jQuery custom content scroller plugin with iframe - probably CSS problems

I have been trying to use the Malihu jQuery custom content scroller plugin. I've manage to get something working based off the demos provided with the plugin but when I try to adapt it to my...

How to get the x position with respect to content size and device width?

I have these values: iPhone Width: 414 UICollectionView Width: 414 UICollectionView Height: 25 UICollectionView ContentSize Width: 578 Scroll to Position: 466 Custom View Width: 112 Custom View...

Fit content and auto width in HTML table

In the following example, I would like my table to have column width customized : Column width fits the content Takes the remaining space Column width fits the content Fixed column width <!--...

Custom combobox style

So after few days learning WPF im trying to make custom style for my ComboBox. I want to set border with content width to fill all unused space between border and drop down button. After I fix...