mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
ComponentsInfoBox: arange text to the left border if no picture is painted
changed isPainted() to isPicPainted(), return of isPicPainted() value was not marked-down to false and isPainted() means the container frame and isPicPainted() means the picture itself, so the last state was wrong. Now it should work fine. Btw: scope of x_text reduced, is only required in member paintText()
This commit is contained in:
@@ -222,7 +222,7 @@ class CComponentsInfoBox : public CComponentsContainer
|
||||
private:
|
||||
const char* text;
|
||||
int text_mode; //see textbox.h for possible modes
|
||||
int x_text, x_offset;
|
||||
int x_offset;
|
||||
Font* font;
|
||||
CBox * box;
|
||||
CTextBox * textbox;
|
||||
|
Reference in New Issue
Block a user