hideLabels

Form and theme XML code

Possible and default values

Associated containers, widgets and theme elements

Associated functions and ui methods

Influence and behavior

hideLabels  is used to make labels of toolbar buttons visible/hidden at runtime.

Form XML code:

<Toolbar text="toolbar"  visible="true" identifier="toolbarMain1" hideLabels="true">
By default, the property is set to false and is absent from the form XML code. The property value will appear in the form XML code only once the property value is set to true.

Theme property filter XML code:

<DoStyleAction>

  <SetProperty>

    <PropertyPath>

      <PropertyName>HideLabels</PropertyName>

    </PropertyPath>

  </SetProperty>

</DoStyleAction>

Possible values:

true, false

Default value:

false (in Lycia Form Designer)

not specified (in Lycia Theme Designer)

Associated containers, widgets and theme elements:

Toolbar

Associated ui methods:

SetHideLabels 

GetHideLabels 

Influence and behavior:

With hideLabels set to true, labels of toolbar buttons become invisible at runtime:

By default, toolbar labels are visible:

 

At runtime, you can use ui methods to hide labels of toolbar buttons (see the example program hideLabels):

LET widget_var = ui.Toolbar.ForName("toolbar_id")

CALL widget_var.setHideLabels(...)

DISPLAY widget_var.getHideLabels()

 

When Lycia moves to Material Design, there will be no need to hide toolbar labels in any of these ways - with MD, toolbar labels are always hidden.

Here is how the example program looks at runtime with MD:

And here are some more MD runtime examples:

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.