padding

  1. mohsyn

    Android Question B4XFloatTextField padding & RTL

    I'm using B4XFloatTextField and having few concerns 1. Padding on right side hides X and Tick symbols 2. When Arabic/Urdu/Persian text is entered in text field it moves the text on Right Side (which it should) but again the text is below X and Tick symbol (which should have ideally moved to...
  2. KMatle

    B4J Tutorial [B4x]Padding/depadding PKCS7/5 and other

    EDIT: If the message length is equal to the pad length, you have to pad to the next multiple. E.g. 16 bytes would be padded to 32 because one would not know how long the message was because the last byte defines the number of added (=padded) values. Here's another example to pad/depad data for...
  3. KMatle

    Android Code Snippet [B4x] Padding data (e.g. building blocks of a multiple of 16)

    For some solutions you need to pad data to a specific length (=blocksize or a multiple of x, like a multiple of 16 in AES). This snippet gets the next higher multiple of the padding. If your data is 5 bytes long, the blocksize would be 16, having 17 bytes it would be 32. Dim PadTo As Int = 16...
  4. walterf25

    iOS Question BBLabel Click Event

    Hi All, I decided to give BBLabel a try because i needed to be able to set the padding property, the BBLabel view works very nice for this need, however i realized that it doesn't handle the Click Event, is there a way to add that to this view, i really would like to stick to using this view...
  5. M

    Android Question stringfunctions2 pad

    it appears that the pad function is incorrect. the "for" line adds one too many characters. it should be (length - text.length - 1). or am i missing something? Sub Pad (Text As String, PadWith As String, Length As Int, Post As Boolean) As String 'Classic Private Str As String = ""...
  6. R

    Spanish [SOLUCIONADO] B4XTable - ¿Padding en Celdas?

    Muy buenas, este es mi primer POST, Creo que se entiende, Cuando alineo los Datos a la Izquierda (LEFT): Dim column0 As B4XTableColumn = tableName.GetColumn("NOMBRE") Dim pn0 As B4XView = column0.CellsLayouts.Get(0) pn0.GetView(0).SetTextAlignment("CENTER", "LEFT".ToUpperCase) Este caso el...
  7. mcqueccu

    Android Question BCTextEngine - how to use default system font and set padding

    1. The BBCodeview seems to be using lighter font than the system font when i run the example, and also used in my application. How do i set a custom font or stick to default system font? 2. Bug in padding - When i set padding left and right to the BBCodeView in designer, it crops off parts of...
Top