mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsForm: fix position of items in added forms
Position of added items in subforms was fitted with wrong offset. Usage of relative x/y position avoids wrong positions of items in subforms.
This commit is contained in:
@@ -51,6 +51,8 @@ CComponentsForm::CComponentsForm(const int x_pos, const int y_pos, const int w,
|
||||
//CComponents
|
||||
x = x_pos;
|
||||
y = y_pos;
|
||||
cc_xr = x;
|
||||
cc_yr = y;
|
||||
width = w;
|
||||
height = h;
|
||||
|
||||
|
Reference in New Issue
Block a user