On Tuesday, March 1, 2011, Farhad Hedayati Fard wrote: > > On Feb. 28, 2011, 3:45 p.m., Sebastian Kügler wrote: > > > There's no need to add a UI option for this, the user should just be > > > able to set an empty title and the header would then get hidden / > > > collapsed. > > > > > > Right now, this doesn't happen since when the label is empty, the > > > default gets chosen. So this mechanism needs to be a bit smarter to > > > detect when the user has actually set an empty title (which is > > > different from title.isEmpty() so set default name). > > How should I know whether the user has set the title empty to make the > header hidden or by doing so he/she means to choose the default title > instead of being hidden?
easy: if the user touches that field, they want to change the title. there is no need to provide a "go back to the default" option. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel