Questions tagged [autosizing]

3 questions
2
votes
0 answers

SwiftUI how to wrap WKWebView to make it autosizing after html load

I have WKWebView placed in List cell and want this cell to be autosized to height of content that was loaded into WKWebView. I have tried such code but it doesn't work struct WebView: UIViewRepresentable { let url: URL? let html: String? …
Michał Ziobro
  • 10,759
  • 11
  • 88
  • 143
0
votes
2 answers

auto size text in linear layout with weight android java

I would like to auto-size my text. But it is in linearLayout and I m using weight. I tried things like that : app:autoSizeTextType="uniform" android:autoSizeMinTextSize="2sp" …
0
votes
1 answer

Label printing with HTML and CSS. How to resize label and containers according to label height and width?

The following is the code I have managed to come up with for label size 5cm by 2.2cm. It prints perfectly. I need to be able to have it print for other sizes as well, automatically resizing fonts and containers. The only 2 variables I want to change…
John Agius
  • 35
  • 1
  • 2
  • 8