Home > Mobile >  QT styled a BUG
QT styled a BUG

Time:05-07

Style by different attribute tags, for example:
 
# lightTab [flat="false"] {
Border: 1 px solid blue;
}

# lightTab [flat="true"] {
Border: 1 px solid red;
}



But found adjustSize have a bug, as follows:
 
//UI - & gt; LightTab - & gt; AdjustSize ();//call before setting properties, style doesn't work
The UI - & gt; LightTab - & gt; SetFlat (true);
The UI - & gt; LightTab - & gt; AdjustSize ();//call after setting properties, style to work
  •  Tags:  
  • Qt
  • Related