Discussion of article "Graphical Interfaces IV: Informational Interface Elements (Chapter 1)" - page 2

 
Mikhail Dovbakh:

...
I'll take this opportunity to ask:
how can icons be used in the status bar?

Like a connectionindicator or something.... )

There is no such feature in the status bar yet, but it will be soon.
 
Anatoli Kazharski:
The status bar doesn't have that option yet, but it will be coming soon.

Thanks again!
 

Why the text goes beyond the button (Icon Button 3), and the time in the status bar does not fit ?

 
Evgenii Bakai:

Why the text goes beyond the button (Icon Button 3), and the time in the status bar does not fit ?

Because in this version interface elements are built from several graphical objects and the font size must be controlled independently.

Use the CElementBase::Font() method to set the font size.

 
Anatoli Kazharski:

Because in this version interface elements are built from several graphical objects and the font size must be controlled independently.

Use the CElementBase::Font() method to set the font size.


There is no CElementBase class in this version of the library

I haven't parsed further, so far this functionality is enough. Only now I'm looking for how to change the font size for the button. Change in FONT_SIZE in Defines ? But this is for all elements...(

 
Evgenii Bakai:

There is no CElementBase class in this version of the library
Put a dot after the object name in the code and start typing fo - intellience will give you a list of available methods.
 
Artyom Trishkin:
Put a dot after the object name in the code and start typing fo - intellience will give you a list of available methods.


No required methods

u

 
Evgenii Bakai:


No required methods


The latest version of the library in this article: GUIs X: Text Selection in a Multiline Input Box (build 13)
 
Anatoli Kazharski:

The latest version of the library is in this article: GUI X: Text Selection in a Multiline Input Box (build 13)

thanks
 

I have the same problem, I can't generate it, I don't understand it.