LucaMs Expert Licensed User Longtime User Jan 20, 2019 #1 Why if you set the TextSize of mLbl by code... this does not work?
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2019 #2 Not sure that I understand. It doesn't show any text. Upvote 0
LucaMs Expert Licensed User Longtime User Jan 20, 2019 #3 Erel said: Not sure that I understand. It doesn't show any text. Click to expand... Yes, mLbl is declared as public and you can change its (some?) properties (I changed the text color and even rotation, just to try) successfully but TextSize doesn't change. Attachments APB Test.zip APB Test.zip 3.6 KB · Views: 512 Upvote 0
Erel said: Not sure that I understand. It doesn't show any text. Click to expand... Yes, mLbl is declared as public and you can change its (some?) properties (I changed the text color and even rotation, just to try) successfully but TextSize doesn't change.
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2019 #4 The latest version is included in XUI Views and doesn't add a label (mLbl variable is there by mistake and is removed now). I recommend you to use that version as it allows you to set the progress bar value. About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "". Upvote 0
The latest version is included in XUI Views and doesn't add a label (mLbl variable is there by mistake and is removed now). I recommend you to use that version as it allows you to set the progress bar value. About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "".
LucaMs Expert Licensed User Longtime User Jan 20, 2019 #5 Erel said: The latest version is included in XUI Views and doesn't add a label (mLbl variable is there by mistake and is removed now). Click to expand... XUI Views too Erel said: About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "". Click to expand... I'll try (although in this way I will have to set also the other properties using Style, such as bold, for example) Upvote 0
Erel said: The latest version is included in XUI Views and doesn't add a label (mLbl variable is there by mistake and is removed now). Click to expand... XUI Views too Erel said: About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "". Click to expand... I'll try (although in this way I will have to set also the other properties using Style, such as bold, for example)
LucaMs Expert Licensed User Longtime User Jan 20, 2019 #6 Erel said: About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "". Click to expand... Style is not a property of a standard Label. Maybe I could use CSSUtils.SetStyleProperty but it expects a Node parameter and also I couldn't use it in b4a. Upvote 0
Erel said: About the label, it is probably a conflict with the label style. You can reset it with lbl.Style = "". Click to expand... Style is not a property of a standard Label. Maybe I could use CSSUtils.SetStyleProperty but it expects a Node parameter and also I couldn't use it in b4a.
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2019 #7 1. Better to add the label yourself as it is not included in XUI Views AnotherProgressBar. 2. You can always cast a B4XView to the native control. Upvote 0
1. Better to add the label yourself as it is not included in XUI Views AnotherProgressBar. 2. You can always cast a B4XView to the native control.
LucaMs Expert Licensed User Longtime User Jan 20, 2019 #8 Erel said: 1. Better to add the label yourself as it is not included in XUI Views AnotherProgressBar. Click to expand... With this: LucaMs said: XUI Views too Click to expand... I meant that even XUI Views AnotherProgressBar exposes that label - I understand, it is a little mistake. I only wondered that strange thing, you can change some of that label properties but not the text size. If I need it (right now it was not for me) I will overlay a my label on the APB. Thank you. Last edited: Jan 20, 2019 Upvote 0
Erel said: 1. Better to add the label yourself as it is not included in XUI Views AnotherProgressBar. Click to expand... With this: LucaMs said: XUI Views too Click to expand... I meant that even XUI Views AnotherProgressBar exposes that label - I understand, it is a little mistake. I only wondered that strange thing, you can change some of that label properties but not the text size. If I need it (right now it was not for me) I will overlay a my label on the APB. Thank you.