label

  1. mare1980k1

    Android Question Vertical alignment align of text in a label - programmatically

    Hi, I am declaring a label as such: Dim TextTrending As Label TextTrending.Initialize("TextTrending") TextTrending.Text = "Trending" TextTrending.Padding = Array As Int (0dip, 0dip, 0dip, 0dip) TextTrending.Gravity = Gravity.TOP I would like to align text to the top programmatically in the...
  2. M

    iOS Question [B4X] Get the label from an TextItem of a CustomListView

    Hi everyone, it is possibile to get a reference of the label used for the "TextItem" of a CustomListView? i wish to change the backgroud color of the label, text size, round the corners etc.. I know that there is the .DesignerLabel method, but if i try to change color it does not work Thanks...
  3. Alexander Stolte

    B4A Library [B4X] [XUI] AS ScrollingChips based on xCustomListView - Display your Hashtags or Categories

    I removed the old code and took the code from the AS_Chips to make this view even better. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. :) Without scroll...
  4. Lucas Siqueira

    Android Question [RESOLVED] Remove top of the panel edge

    Hello everyone! how can I make a border on a panel and then remove a top part of the border to put a label with a transparent background. note that the background color of the panel is transparent. I need the background to be transparent because there are screens for apps that contain gradients.
  5. T

    Android Question scalable size unit

    ' Hi, he says. Service for friends. as you know and perhaps face this problem, label.textsize What is your proposal or solution to this problem with problems that we have at all times
  6. S

    iOS Question Shadowy line around label

    Dear B4X, When I set a labels height quite small (sub 25px) or its width only slightly wider than the text in contains, I get a shadowy line appear at the top and right-hand sides of the rectangle. Screenshot is below. Is there anyway to get rid of this? Regards, Simon.
  7. T

    B4A - Duvida - Demonstrar resultado do Mapa em Tela

    Bom dia. Pessoal, sou iniciante em B4A, comecei meu primeiro aplicativo ontem, mas, estou com duvida sobre como mostrar meu mapa em tela. Fiz um mapa para gerar números randômicos, mas, não consigo de forma alguma exibir o resultado em tela. Como posso fazer para exibir o resultado em uma...
  8. Penguin

    iOS Question Make Label Text selectable

    Is it possible to make text in a label selectable with a long press, so that the user can copy it?
  9. A

    Android Question Set part of the label text to bold

    Hi all. My question is - how to set part of the label text to bold? Let say I have a label text such as Client Name Client address Client Type So I need to show only Client Name in bold and rest of the text is Normal. Is it possible? Thanks. Be safe.
  10. carlos7000

    Android Question Change some properties of a label at runtime

    Hi. ¿How you can change the Horizontal Alignation property or change other properties of a label when the label was dynamically created? Thanks
  11. Eric McDonald

    Android Question Using Searchview to capture String

    Hello all, Fairly new to B4A, so this may be a simple question... but it's got me stumped. I am using a SearchView as found in the SearchViewExample (found on the forum). However, I am having difficulty implementing it into my own code. What I wish to do is take the selected text (from the...
  12. D

    iOS Question Add outline to text

    How can I add an outline to the label text? I found the answer in swift: https://stackoverflow.com/questions/40575408/outline-uilabel-text-in-uilabel-subclass http://mabdev.com/2016/06/09/how-to-outline-your-uilabel-uibutton/
  13. ALBRECHT

    Android Question LTR or RTL Form direction

    Hello, According to the ltr or rtl language direction coosen by the user, Please, is it an easy way to call : 1: a text or label (with direction settings rtl or ltr) 2: a complete form direction (label + Edittext) or (Edittext + label), example: or : Today, according to the language...
  14. Brandsum

    Android Tutorial Load HTML to Label

    (Here is the iOS version) This is how you can set HTML data to Label (works only in release mode), Dependencies: StringUtils, jSoup, LabelExtras Here is the code, Dim extraHeight As Int = 0 'global variable (height of images) Dim htmlParser As Html 'global variable Dim jSoup As jSoup 'global...
  15. Brandsum

    iOS Tutorial Load HTML to Label

    (Here is the Android version) This is how you can set HTML data to Label, Public Sub SetHTML(l As Label, htmlString As String) Dim NaObj As NativeObject = Me NaObj.RunMethod("SetHTML::",Array(l,htmlString)) End Sub #if OBJC - (void)SetHTML: (UILabel*) Label :(NSString *) htmlString{...
  16. Star-Dust

    B4J Library SD: XUI_Design

    Goodmorning everyone, We have often discussed in this forum in different threads about the need to be able to insert XUI from design. We all know that the direction that is suggested by AnyWhere software is to create in the design the native views and then replace B4XView to the type...
  17. E

    iOS Question [Solved] FontAwesome not working as button icons

    (re: related thread: https://www.b4x.com/android/forum/threads/fontawesome-icons-in-buttons.80993/ ) I had an issue where FontAwesome icons that looked great in Designer: were not displaying in the actual program: and what I eventually tracked it down to was a programming...
  18. Kevin Hartin

    Android Question Text from SQLite into Label being truncated

    This is my first question, so please bear with me. I am reading a field from SQLite to populate a Label inside a ScrollView that sits on a tab in a TabStrip. It all seems to be working fine, but it seems that the very long text strings are being truncated. For example, one string in the DB is...
  19. M

    Android Question Accesing propertie of a label created at runtime?

    Hello everybody, please apologize my english... I am doing an App, and the forum was very helpfull, but i cant figure how to do this: My app has an Scrollview, with a Panel inside, and at runtime i created some labels added to the panel (sv.panel.addview) and asigned an "event name" when...
  20. C

    Android Question Bluetooth Printing with AsyncStreams

    I wrote an application a little while ago to print to a Bluetooth printer. It worked, but occasionally it would lock up. I was using a TextWriter, which I subsequently found out was not the way to go, with AsyncStreams being the preferred way to go. I've just created a small sample application...
Top